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 e658da2 + 4651c2c commit 2633737Copy full SHA for 2633737
src/docs/asciidoc/faq.adoc
@@ -130,6 +130,19 @@ springdoc.pathsToMatch=/v1, /api/balance/**
130
springdoc.packagesToScan=package1, package2
131
----
132
133
+=== How can I set Swagger properties programmatically?
134
+
135
+These can be set by creating a `swaggerUiConfig` bean as follows:
136
137
+---
138
+ @Bean
139
+ fun swaggerUiConfig(config: SwaggerUiConfigProperties): SwaggerUiConfigProperties {
140
+ config.showCommonExtensions = true
141
+ config.queryConfigEnabled = true
142
+ return config
143
+ }
144
145
146
=== How can I ignore some field of model ?
147
* You can use the following annotation on the top of the field that you want to hide:
148
* `@Schema(hidden = true)`
0 commit comments