public class ParameterReader extends Object
| Modifier and Type | Method and Description |
|---|---|
static org.eclipse.microprofile.openapi.models.parameters.Parameter |
readParameter(AnnotationScannerContext context,
org.jboss.jandex.AnnotationInstance annotationInstance)
Reads a Parameter annotation into a model.
|
static org.eclipse.microprofile.openapi.models.parameters.Parameter |
readParameter(com.fasterxml.jackson.databind.JsonNode node)
Reads a
Parameter OpenAPI node. |
static Optional<List<org.eclipse.microprofile.openapi.models.parameters.Parameter>> |
readParameterList(com.fasterxml.jackson.databind.JsonNode node)
Reads a
Parameter OpenAPI node. |
static Map<String,org.eclipse.microprofile.openapi.models.parameters.Parameter> |
readParameters(AnnotationScannerContext context,
org.jboss.jandex.AnnotationValue annotationValue)
Reads a map of Parameter annotations.
|
static Map<String,org.eclipse.microprofile.openapi.models.parameters.Parameter> |
readParameters(com.fasterxml.jackson.databind.JsonNode node)
Reads the
Parameter OpenAPI nodes. |
static Optional<List<org.eclipse.microprofile.openapi.models.parameters.Parameter>> |
readParametersList(AnnotationScannerContext context,
org.jboss.jandex.AnnotationValue annotationValue)
Reads a map of Parameter annotations.
|
public static Optional<List<org.eclipse.microprofile.openapi.models.parameters.Parameter>> readParametersList(AnnotationScannerContext context, org.jboss.jandex.AnnotationValue annotationValue)
context - the scanning contextannotationValue - Map of @Parameter annotationspublic static Optional<List<org.eclipse.microprofile.openapi.models.parameters.Parameter>> readParameterList(com.fasterxml.jackson.databind.JsonNode node)
Parameter OpenAPI node.node - json listpublic static Map<String,org.eclipse.microprofile.openapi.models.parameters.Parameter> readParameters(AnnotationScannerContext context, org.jboss.jandex.AnnotationValue annotationValue)
context - the scanning contextannotationValue - Map of @Parameter annotationspublic static Map<String,org.eclipse.microprofile.openapi.models.parameters.Parameter> readParameters(com.fasterxml.jackson.databind.JsonNode node)
Parameter OpenAPI nodes.node - json map of Parameterspublic static org.eclipse.microprofile.openapi.models.parameters.Parameter readParameter(AnnotationScannerContext context, org.jboss.jandex.AnnotationInstance annotationInstance)
context - the scanning contextannotationInstance - @Parameter modelpublic static org.eclipse.microprofile.openapi.models.parameters.Parameter readParameter(com.fasterxml.jackson.databind.JsonNode node)
Parameter OpenAPI node.node - the json objectCopyright © 2018–2021. All rights reserved.