Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/docs/asciidoc/faq.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -143,15 +143,15 @@ springdoc.packagesToScan=package1, package2

These can be set by creating a `swaggerUiConfig` bean as follows:
[source,kotlin]
---
----
@Bean
@Primary
fun swaggerUiConfig(config: SwaggerUiConfigProperties): SwaggerUiConfigProperties {
config.showCommonExtensions = true
config.queryConfigEnabled = true
return config
}
---
----

=== How can I ignore some field of model ?
* You can use the following annotation on the top of the field that you want to hide:
Expand Down
4 changes: 2 additions & 2 deletions src/docs/asciidoc/v1/faq.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -143,15 +143,15 @@ springdoc.packagesToScan=package1, package2

These can be set by creating a `swaggerUiConfig` bean as follows:
[source,kotlin]
---
----
@Bean
@Primary
fun swaggerUiConfig(config: SwaggerUiConfigProperties): SwaggerUiConfigProperties {
config.showCommonExtensions = true
config.queryConfigEnabled = true
return config
}
---
----

=== How can I ignore some field of model?
* You can use the following annotation on the top of the field that you want to hide:
Expand Down