Class ResourceParameters
java.lang.Object
io.smallrye.openapi.runtime.scanner.ResourceParameters
Result object returned to the annotation scanner. Parameters are split
between those that apply at the PathItem level and those that apply
at the Operation level, except for form parameters which only apply
to the operation.
This object includes the class and method path which may have been modified
from the values specified by JAX-RS Path or Spring Mapping annotations to
support the linkage of matrix parameters.
- Author:
- Michael Edgar <michael@xlate.io>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddOperationParameter(org.eclipse.microprofile.openapi.models.parameters.Parameter parameter) List<org.eclipse.microprofile.openapi.models.parameters.Parameter> org.eclipse.microprofile.openapi.models.media.Contentorg.eclipse.microprofile.openapi.models.media.SchemaList<org.eclipse.microprofile.openapi.models.parameters.Parameter> List<org.eclipse.microprofile.openapi.models.parameters.Parameter> static Comparator<org.eclipse.microprofile.openapi.models.parameters.Parameter> parameterComparator(List<org.eclipse.microprofile.openapi.models.parameters.Parameter> preferredOrder) voidsetFormBodyContent(org.eclipse.microprofile.openapi.models.media.Content formBodyContent) voidsetOperationParameters(List<org.eclipse.microprofile.openapi.models.parameters.Parameter> operationParameters) voidsetOperationPaths(List<String> operationPaths) voidsetPathItemParameters(List<org.eclipse.microprofile.openapi.models.parameters.Parameter> pathItemParameters) voidsetPathItemPaths(List<String> pathItemPaths) void
-
Constructor Details
-
ResourceParameters
public ResourceParameters()
-
-
Method Details
-
parameterComparator
public static Comparator<org.eclipse.microprofile.openapi.models.parameters.Parameter> parameterComparator(List<org.eclipse.microprofile.openapi.models.parameters.Parameter> preferredOrder) -
getPathItemParameters
-
getOperationPaths
-
getFullOperationPaths
-
getOperationParameters
-
addOperationParameter
public void addOperationParameter(org.eclipse.microprofile.openapi.models.parameters.Parameter parameter) -
getFormBodyContent
public org.eclipse.microprofile.openapi.models.media.Content getFormBodyContent() -
getFormBodySchema
public org.eclipse.microprofile.openapi.models.media.Schema getFormBodySchema() -
getAllParameters
-
setPathItemPaths
-
setPathItemParameters
public void setPathItemParameters(List<org.eclipse.microprofile.openapi.models.parameters.Parameter> pathItemParameters) -
setOperationPaths
-
setOperationParameters
public void setOperationParameters(List<org.eclipse.microprofile.openapi.models.parameters.Parameter> operationParameters) -
setFormBodyContent
public void setFormBodyContent(org.eclipse.microprofile.openapi.models.media.Content formBodyContent) -
sort
-
getPathParameterTemplateNames
-