Class TagsGenerationAndSortCustomizer
java.lang.Object
de.hybris.platform.swaggerintegration.config.TagsGenerationAndSortCustomizer
- All Implemented Interfaces:
org.springdoc.core.customizers.OpenApiCustomiser
public class TagsGenerationAndSortCustomizer
extends Object
implements org.springdoc.core.customizers.OpenApiCustomiser
OpenApiCustomiser implementation that generates "tags" property that lists the sorted tags.
Even springdoc.swagger-ui.tagsSorter is defined to sort tags by swagger-ui, tags are not sorted in generated api-docs.yaml without this customiser class.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
TagsGenerationAndSortCustomizer
public TagsGenerationAndSortCustomizer()
-
-
Method Details
-
customise
public void customise(io.swagger.v3.oas.models.OpenAPI openApi) - Specified by:
customisein interfaceorg.springdoc.core.customizers.OpenApiCustomiser
-