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 90b7d42 commit f0b8293Copy full SHA for f0b8293
springdoc-openapi-common/src/main/java/org/springdoc/core/SwaggerUiConfigProperties.java
@@ -60,6 +60,28 @@ public class SwaggerUiConfigProperties extends AbstractSwaggerUiConfigProperties
60
*/
61
private Csrf csrf = new Csrf();
62
63
+ /**
64
+ * Whether to generate and serve an OpenAPI document.
65
+ */
66
+ private boolean enabled = true;
67
+
68
69
+ * Is enabled boolean.
70
+ *
71
+ * @return the boolean
72
73
+ public boolean isEnabled() {
74
+ return enabled;
75
+ }
76
77
78
+ * Sets enabled.
79
80
+ * @param enabled the enabled
81
82
+ public void setEnabled(boolean enabled) {
83
+ this.enabled = enabled;
84
85
86
/**
87
* The type Csrf.
0 commit comments