Class AddToOpenAPIDefinitionBuildItem
java.lang.Object
io.quarkus.builder.item.BuildItem
io.quarkus.builder.item.MultiBuildItem
io.quarkus.smallrye.openapi.deployment.spi.AddToOpenAPIDefinitionBuildItem
public final class AddToOpenAPIDefinitionBuildItem
extends io.quarkus.builder.item.MultiBuildItem
-
Constructor Summary
ConstructorsConstructorDescriptionAddToOpenAPIDefinitionBuildItem(org.eclipse.microprofile.openapi.OASFilter filter) Deprecated.AddToOpenAPIDefinitionBuildItem(org.eclipse.microprofile.openapi.OASFilter filter, String documentName) -
Method Summary
Modifier and TypeMethodDescriptionThe name of the OpenAPI document this BuildItem should be applied to, null if it should be applied to all OpenAPI documents, orOpenAPISPIConstants.DEFAULT_DOCUMENT_NAMEfor the default document.org.eclipse.microprofile.openapi.OASFilter
-
Constructor Details
-
AddToOpenAPIDefinitionBuildItem
@Deprecated public AddToOpenAPIDefinitionBuildItem(org.eclipse.microprofile.openapi.OASFilter filter) Deprecated.Applies to the default OpenAPI document- Parameters:
filter- the filter to be applied when building the OpenAPI document
-
AddToOpenAPIDefinitionBuildItem
public AddToOpenAPIDefinitionBuildItem(org.eclipse.microprofile.openapi.OASFilter filter, String documentName) - Parameters:
filter- the filter to be applied when building the OpenAPI documentdocumentName- the name of the document this filter applies to, null for all documents, orOpenAPISPIConstants.DEFAULT_DOCUMENT_NAMEfor the default document
-
-
Method Details
-
getOASFilter
public org.eclipse.microprofile.openapi.OASFilter getOASFilter() -
getDocumentName
The name of the OpenAPI document this BuildItem should be applied to, null if it should be applied to all OpenAPI documents, orOpenAPISPIConstants.DEFAULT_DOCUMENT_NAMEfor the default document.
-