We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1983195 commit fcafa33Copy full SHA for fcafa33
apis/src/main/kotlin/org/yapp/apis/config/SwaggerProperties.kt
@@ -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