Skip to content

Commit

Permalink
chore(SwaggerConfig) : 로컬호스트를 테스트 서버로 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
Due-IT committed Nov 14, 2024
1 parent 079445a commit aa6d13a
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,11 @@ public OpenAPI openAPI() {
Server server = new Server();
server.setUrl("https://backendu.com");

Server localServer = new Server();
localServer.setUrl("http://localhost:8080");

return new OpenAPI()
.info(info)
.servers(List.of(server));
.servers(List.of(server, localServer));
}
}

0 comments on commit aa6d13a

Please sign in to comment.