!418 ref: 默认开启swagger 扫描 close #I7XQ4M

Merge pull request !418 from Mac666/N/A
This commit is contained in:
lengleng 2023-09-01 03:23:43 +00:00 committed by Gitee
commit 4280a174d3
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -22,7 +22,7 @@ import java.util.stream.Collectors;
*/
@RequiredArgsConstructor
@Configuration(proxyBeanMethods = false)
@ConditionalOnProperty("springdoc.api-docs.enabled")
@ConditionalOnProperty(value = "springdoc.api-docs.enabled", matchIfMissing = true)
public class SpringDocConfiguration implements InitializingBean {
private final SwaggerUiConfigProperties swaggerUiConfigProperties;