Skip to content

Commit fcafa33

Browse files
committed
hotfix: 누락된 config 파일 추가
1 parent 1983195 commit fcafa33

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
package org.yapp.apis.config
2+
3+
import org.springframework.boot.context.properties.ConfigurationProperties
4+
5+
@ConfigurationProperties(prefix = "swagger")
6+
data class SwaggerProperties(
7+
val servers: List<ServerConfig> = emptyList(),
8+
val info: InfoConfig = InfoConfig()
9+
) {
10+
data class ServerConfig(
11+
val url: String,
12+
val description: String
13+
)
14+
15+
data class InfoConfig(
16+
val title: String = "YAPP API",
17+
val description: String = "YAPP API Documentation",
18+
val version: String = "v1"
19+
)
20+
}

0 commit comments

Comments
 (0)