File tree Expand file tree Collapse file tree 2 files changed +17
-2
lines changed
src/main/java/kr/unideal/server/backend/openapi Expand file tree Collapse file tree 2 files changed +17
-2
lines changed Original file line number Diff line number Diff line change 1+ package kr .unideal .server .backend .openapi ;
2+
3+ import io .swagger .v3 .oas .annotations .OpenAPIDefinition ;
4+ import io .swagger .v3 .oas .annotations .info .Info ;
5+ import org .springframework .context .annotation .Configuration ;
6+
7+ @ OpenAPIDefinition (
8+ info = @ Info (
9+ title = "Unideal API 명세서" ,
10+ description = "Unideal의 API 명세서입니다." ,
11+ version = "v1"
12+ )
13+ )
14+ @ Configuration
15+ public class OpenAPIConfig {
16+ }
Original file line number Diff line number Diff line change 1- package kr .unideal .server .backend ;
1+ package kr .unideal .server .backend . openapi ;
22
33
44import io .swagger .v3 .oas .annotations .Hidden ;
55import org .springframework .beans .factory .annotation .Value ;
66import org .springframework .stereotype .Controller ;
77import org .springframework .ui .Model ;
88import org .springframework .web .bind .annotation .GetMapping ;
9- import org .springframework .web .bind .annotation .RestController ;
109
1110@ Controller
1211public class OpenAPIController {
You can’t perform that action at this time.
0 commit comments