Skip to content

Commit a3048c6

Browse files
authored
Merge pull request #7 from ASAP-Lettering/ASAP-64
ASAP-64 chore: swagger 서버 설정 추가
2 parents 1e156bc + 25b397c commit a3048c6

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)