Skip to content

Commit

Permalink
[fix] : 자잘한 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
chahyunsoo committed May 10, 2024
1 parent fbbff61 commit 0adcdfe
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import io.swagger.v3.oas.models.info.Info;
import io.swagger.v3.oas.models.security.SecurityRequirement;
import io.swagger.v3.oas.models.security.SecurityScheme;
import io.swagger.v3.oas.models.servers.Server;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

Expand All @@ -29,6 +30,7 @@ public OpenAPI openAPI() {
.bearerFormat(JWT)
);
return new OpenAPI()
.addServersItem(new Server().url("/"))
.components(new Components())
.info(new Info())
.addSecurityItem(securityRequirement)
Expand Down

0 comments on commit 0adcdfe

Please sign in to comment.