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.
2 parents 1e156bc + 25b397c commit a3048c6Copy full SHA for a3048c6
Bootstrap-Module/src/main/kotlin/com/asap/bootstrap/common/SwaggerConfig.kt
@@ -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
15
+ url = "https://api.lettering.world",
16
+ description = "Production Server"
17
+ )
18
+ ]
19
+)
20
+class SwaggerConfig {
21
+}
0 commit comments