From 234a3a77352b927cf0657b270c3cefa03997204c Mon Sep 17 00:00:00 2001 From: Tao Sun Date: Tue, 23 Jul 2024 16:57:00 +0800 Subject: [PATCH] Fix code appearance. --- src/docs/asciidoc/faq.adoc | 4 ++-- src/docs/asciidoc/v1/faq.adoc | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/docs/asciidoc/faq.adoc b/src/docs/asciidoc/faq.adoc index d967882..1179408 100644 --- a/src/docs/asciidoc/faq.adoc +++ b/src/docs/asciidoc/faq.adoc @@ -143,7 +143,7 @@ springdoc.packagesToScan=package1, package2 These can be set by creating a `swaggerUiConfig` bean as follows: [source,kotlin] ---- +---- @Bean @Primary fun swaggerUiConfig(config: SwaggerUiConfigProperties): SwaggerUiConfigProperties { @@ -151,7 +151,7 @@ fun swaggerUiConfig(config: SwaggerUiConfigProperties): SwaggerUiConfigPropertie 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: diff --git a/src/docs/asciidoc/v1/faq.adoc b/src/docs/asciidoc/v1/faq.adoc index 6ccec22..df543ae 100644 --- a/src/docs/asciidoc/v1/faq.adoc +++ b/src/docs/asciidoc/v1/faq.adoc @@ -143,7 +143,7 @@ springdoc.packagesToScan=package1, package2 These can be set by creating a `swaggerUiConfig` bean as follows: [source,kotlin] ---- +---- @Bean @Primary fun swaggerUiConfig(config: SwaggerUiConfigProperties): SwaggerUiConfigProperties { @@ -151,7 +151,7 @@ fun swaggerUiConfig(config: SwaggerUiConfigProperties): SwaggerUiConfigPropertie 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: