Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor: swagger 서버 url 추가 #13

Merged
merged 1 commit into from
Jul 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/main/java/com/umc/dream/config/SwaggerConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ public OpenAPI openAPI() {
// Swagger UI 접속 후, 딱 한 번만 accessToken을 입력해주면 모든 API에 토큰 인증 작업이 적용됩니다.
return new OpenAPI()
.servers(Arrays.asList(
new Server().url("https://dev.seungyeon.shop").description("Develop server"), new Server().url("http://localhost:8080").description("Local server")))
new Server().url("http://3.36.57.123:8080").description("Develop server"),
new Server().url("https://dev.seungyeon.shop").description("Develop server"),
new Server().url("http://localhost:8080").description("Local server")))
.addSecurityItem(securityRequirement)
.components(components);
}
Expand Down
Loading