We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6afb023 commit 76a41f1Copy full SHA for 76a41f1
src/main/java/com/going/server/global/config/SwaggerConfig.java
@@ -11,21 +11,14 @@
11
@Configuration
12
public class SwaggerConfig {
13
14
- @Bean
15
- public OpenAPI OpenAPI() {
16
- Info info = new Info()
17
- .title("Test SpringBoot API")
18
- .description("<h3>CapGoing API</h3>")
19
- .version("1.0.0");
20
-
21
- return new OpenAPI()
22
- .info(info);
23
- }
24
25
@Bean
26
public OpenAPI customOpenAPI() {
27
return new OpenAPI()
28
- .addServersItem(new Server().url("http://43.201.251.243:8000/")); // FastAPI 서버 URL 추가
+ .info(new Info()
+ .title("Test SpringBoot API")
+ .description("<h3>CapGoing API</h3>")
+ .version("1.0.0"))
+ .addServersItem(new Server().url("http://43.201.251.243:8000/")); // FastAPI 서버 추가
29
}
30
31
0 commit comments