Skip to content

Commit 25b397c

Browse files
committed
ASAP-64 chore: swagger 서버 설정 추가
1 parent 1e156bc commit 25b397c

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
package com.asap.bootstrap.common
2+
3+
import io.swagger.v3.oas.annotations.OpenAPIDefinition
4+
import io.swagger.v3.oas.annotations.servers.Server
5+
import org.springframework.context.annotation.Configuration
6+
7+
@Configuration
8+
@OpenAPIDefinition(
9+
servers = [
10+
Server(
11+
url = "http://localhost:8080",
12+
description = "Local Server"
13+
),
14+
Server(
15+
url = "https://api.lettering.world",
16+
description = "Production Server"
17+
)
18+
]
19+
)
20+
class SwaggerConfig {
21+
}

0 commit comments

Comments
 (0)