Skip to content

Commit 1dc8483

Browse files
disable springdoc and SwaggerUi endpoint by default
1 parent dc70f9b commit 1dc8483

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

springdoc-openapi-starter-common/src/main/java/org/springdoc/core/properties/SpringDocConfigProperties.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1434,7 +1434,7 @@ public static class ApiDocs {
14341434
/**
14351435
* Whether to generate and serve an OpenAPI document.
14361436
*/
1437-
private boolean enabled = true;
1437+
private boolean enabled = false;
14381438

14391439
/**
14401440
* The Resolve schema properties.

springdoc-openapi-starter-common/src/main/java/org/springdoc/core/properties/SwaggerUiConfigProperties.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ public class SwaggerUiConfigProperties extends AbstractSwaggerUiConfigProperties
9696
/**
9797
* Whether to generate and serve an OpenAPI document.
9898
*/
99-
private boolean enabled = true;
99+
private boolean enabled = false;
100100

101101
/**
102102
* The Use root path.

0 commit comments

Comments
 (0)