Package-level declarations
Types
Link copied to clipboard
@ConditionalOnClass(name = ["me.ahoo.wow.openapi.RouterSpecs"] )
@ConditionalOnProperty(value = ["wow.openapi.enabled"], matchIfMissing = true, havingValue = "true")
Link copied to clipboard
@AutoConfiguration
@ConditionalOnClass(name = ["me.ahoo.wow.openapi.RouterSpecs"] )
Link copied to clipboard
Changes the OpenAPI document right after WowOpenApiCustomizer has merged Wow's routes into it, so it sees those routes whatever order springdoc runs its customizers in. Declare one as a bean; several run in their order (org.springframework.core.Ordered or org.springframework.core.annotation.Order).
Link copied to clipboard
@ConfigurationProperties(prefix = "wow.openapi")
Link copied to clipboard
class WowOpenApiCustomizer(routerSpecs: RouterSpecs, documentFilters: List<OpenApiDocumentFilter>) : OpenApiCustomizer
Merges Wow's routes into the OpenAPI document, then applies the documentFilters in the order given.