Skip to content

Commit

Permalink
Merge pull request #302 from team9502/dev
Browse files Browse the repository at this point in the history
fix: swagger url ์ˆ˜์ •
  • Loading branch information
EUNCHAEv1006 authored Jul 30, 2024
2 parents 4be718f + 7098d9c commit 8fd67c1
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import io.swagger.v3.oas.models.OpenAPI;
import io.swagger.v3.oas.models.info.Contact;
import io.swagger.v3.oas.models.info.Info;
import io.swagger.v3.oas.models.servers.Server;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

Expand All @@ -11,6 +12,10 @@ public class SwaggerConfig {

@Bean
public OpenAPI customOpenAPI() {

Server server = new Server();
server.setUrl("https://www.sinchulgwinong.site/");

return new OpenAPI()
.info(new Info()
.title("์‹ ์ถœ๊ท€๋† API ๋ฌธ์„œ")
Expand Down

0 comments on commit 8fd67c1

Please sign in to comment.