Skip to content

Commit 1e2773c

Browse files
committed
Merge branch 'uc4w6c-fix_swagger-properties-programmatically'
2 parents 0aa7742 + 0b45f30 commit 1e2773c

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)