| | |
| | | import io.swagger.v3.oas.models.info.Info; |
| | | import io.swagger.v3.oas.models.info.License; |
| | | import io.swagger.v3.oas.models.security.SecurityScheme; |
| | | import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty; |
| | | import org.springframework.core.annotation.Order; |
| | | import org.springdoc.core.GroupedOpenApi; |
| | | import org.springframework.beans.factory.annotation.Value; |
| | |
| | | */ |
| | | @Configuration |
| | | @Order(1) |
| | | @ConditionalOnProperty(value = "user-settings.doc-enable", havingValue = "true", matchIfMissing = true) |
| | | public class SpringDocConfig { |
| | | |
| | | @Value("${doc.enabled: true}") |