public class ServerReader extends Object
| Modifier and Type | Method and Description |
|---|---|
static List<org.jboss.jandex.AnnotationInstance> |
getServerAnnotations(org.jboss.jandex.AnnotationTarget target) |
static org.eclipse.microprofile.openapi.models.servers.Server |
readServer(org.jboss.jandex.AnnotationInstance annotationInstance)
Reads a single Server annotation.
|
static org.eclipse.microprofile.openapi.models.servers.Server |
readServer(org.jboss.jandex.AnnotationValue annotationValue)
Reads a single Server annotation.
|
static org.eclipse.microprofile.openapi.models.servers.Server |
readServer(com.fasterxml.jackson.databind.JsonNode node)
Reads a list of
Server OpenAPI nodes. |
static Optional<List<org.eclipse.microprofile.openapi.models.servers.Server>> |
readServers(org.jboss.jandex.AnnotationValue annotationValue)
Reads any Server annotations.The annotation value is an array of Server annotations.
|
static Optional<List<org.eclipse.microprofile.openapi.models.servers.Server>> |
readServers(com.fasterxml.jackson.databind.JsonNode node)
Reads a list of
Server OpenAPI nodes. |
public static Optional<List<org.eclipse.microprofile.openapi.models.servers.Server>> readServers(org.jboss.jandex.AnnotationValue annotationValue)
annotationValue - an Array of @Server annotationspublic static Optional<List<org.eclipse.microprofile.openapi.models.servers.Server>> readServers(com.fasterxml.jackson.databind.JsonNode node)
Server OpenAPI nodes.node - the json arraypublic static org.eclipse.microprofile.openapi.models.servers.Server readServer(org.jboss.jandex.AnnotationValue annotationValue)
annotationValue - the @Server annotationpublic static org.eclipse.microprofile.openapi.models.servers.Server readServer(org.jboss.jandex.AnnotationInstance annotationInstance)
annotationInstance - the @Server annotations instancepublic static org.eclipse.microprofile.openapi.models.servers.Server readServer(com.fasterxml.jackson.databind.JsonNode node)
Server OpenAPI nodes.node - the json arraypublic static List<org.jboss.jandex.AnnotationInstance> getServerAnnotations(org.jboss.jandex.AnnotationTarget target)
Copyright © 2018–2021. All rights reserved.