Skip to content

Commit 0b45f30

Browse files
committed
Merge branch 'fix_swagger-properties-programmatically' of github.com:uc4w6c/springdoc.github.io into uc4w6c-fix_swagger-properties-programmatically
2 parents 0aa7742 + ce23253 commit 0b45f30

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/docs/asciidoc/faq.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ These can be set by creating a `swaggerUiConfig` bean as follows:
145145
[source,kotlin]
146146
---
147147
@Bean
148+
@Primary
148149
fun swaggerUiConfig(config: SwaggerUiConfigProperties): SwaggerUiConfigProperties {
149150
config.showCommonExtensions = true
150151
config.queryConfigEnabled = true

src/docs/asciidoc/v1/faq.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ These can be set by creating a `swaggerUiConfig` bean as follows:
145145
[source,kotlin]
146146
---
147147
@Bean
148+
@Primary
148149
fun swaggerUiConfig(config: SwaggerUiConfigProperties): SwaggerUiConfigProperties {
149150
config.showCommonExtensions = true
150151
config.queryConfigEnabled = true

0 commit comments

Comments
 (0)