Skip to content

Commit

Permalink
Merge pull request #259 from ootd-zip/config/swagger
Browse files Browse the repository at this point in the history
config : 스웨거 CORS 에러 관련 설정추가
  • Loading branch information
kkmin223 authored Nov 17, 2024
2 parents 0a1642c + eb989c5 commit c7a0ee0
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

import io.swagger.v3.oas.annotations.OpenAPIDefinition;
import io.swagger.v3.oas.annotations.info.Info;
import io.swagger.v3.oas.annotations.servers.Server;
import io.swagger.v3.oas.models.Components;
import io.swagger.v3.oas.models.OpenAPI;
import io.swagger.v3.oas.models.security.SecurityRequirement;
Expand All @@ -15,7 +16,10 @@
@OpenAPIDefinition(
info = @Info(title = "OOTD API 명세서",
description = "OOTD API 명세서",
version = "v1"))
version = "v1"),
servers = {
@Server(url = "/", description = "Default Server Url")
})
@Configuration
public class SwaggerConfig {

Expand Down

0 comments on commit c7a0ee0

Please sign in to comment.