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 0e11e6b + 932c5f4 commit 1be6409Copy full SHA for 1be6409
2 files changed
src/main/java/org/devkor/apu/saerok_server/global/config/OpenApiConfig.java
@@ -9,10 +9,12 @@
9
import org.springframework.beans.factory.annotation.Value;
10
import org.springframework.context.annotation.Bean;
11
import org.springframework.context.annotation.Configuration;
12
+import org.springframework.context.annotation.Profile;
13
14
import java.util.List;
15
16
@Configuration
17
+@Profile("!prod")
18
public class OpenApiConfig {
19
20
@Value("${swagger.server-url}")
src/main/resources/application-prod.yml
@@ -18,8 +18,11 @@ spring:
server:
port: 8080
21
-swagger:
22
- server-url: https://api.saerok.app
+springdoc:
+ swagger-ui:
23
+ enabled: false
24
+ api-docs:
25
26
27
aws:
28
credentials:
0 commit comments