| Modifier and Type | Method and Description |
|---|---|
static List<org.jboss.jandex.AnnotationInstance> |
getTagAnnotations(org.jboss.jandex.AnnotationTarget target) |
static boolean |
hasTagAnnotation(org.jboss.jandex.AnnotationTarget target) |
static org.eclipse.microprofile.openapi.models.tags.Tag |
readTag(AnnotationScannerContext context,
org.jboss.jandex.AnnotationInstance annotationInstance)
Reads a single Tag annotation.
|
static Optional<List<org.eclipse.microprofile.openapi.models.tags.Tag>> |
readTags(AnnotationScannerContext context,
org.jboss.jandex.AnnotationValue annotationValue)
Reads any Tag annotations.The annotation
value is an array of Tag annotations.
|
static Optional<List<org.eclipse.microprofile.openapi.models.tags.Tag>> |
readTags(com.fasterxml.jackson.databind.JsonNode node)
Reads a list of
Tag OpenAPI nodes. |
public static Optional<List<org.eclipse.microprofile.openapi.models.tags.Tag>> readTags(AnnotationScannerContext context, org.jboss.jandex.AnnotationValue annotationValue)
context - scanning contextannotationValue - an array of @Tag annotationspublic static Optional<List<org.eclipse.microprofile.openapi.models.tags.Tag>> readTags(com.fasterxml.jackson.databind.JsonNode node)
Tag OpenAPI nodes.node - the json array nodepublic static org.eclipse.microprofile.openapi.models.tags.Tag readTag(AnnotationScannerContext context, org.jboss.jandex.AnnotationInstance annotationInstance)
context - scanning contextannotationInstance - @Tag annotation, must not be nullpublic static boolean hasTagAnnotation(org.jboss.jandex.AnnotationTarget target)
public static List<org.jboss.jandex.AnnotationInstance> getTagAnnotations(org.jboss.jandex.AnnotationTarget target)
Copyright © 2018–2021. All rights reserved.