Class LinkReader
java.lang.Object
io.smallrye.openapi.runtime.io.link.LinkReader
Reading the Link annotation and json
- Author:
- Phillip Kruger (phillip.kruger@redhat.com), Eric Wittmann (eric.wittmann@gmail.com)
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionreadLinks(com.fasterxml.jackson.databind.JsonNode node) Reads theLinkOpenAPI nodes.readLinks(AnnotationScannerContext context, org.jboss.jandex.AnnotationValue annotationValue) Reads Link annotations
-
Method Details
-
readLinks
public static Map<String,org.eclipse.microprofile.openapi.models.links.Link> readLinks(AnnotationScannerContext context, org.jboss.jandex.AnnotationValue annotationValue) Reads Link annotations- Parameters:
annotationValue- map of @Link annotations- Returns:
- Map of Link model
-
readLinks
public static Map<String,org.eclipse.microprofile.openapi.models.links.Link> readLinks(com.fasterxml.jackson.databind.JsonNode node) Reads theLinkOpenAPI nodes.- Parameters:
node- the json node- Returns:
- Map of Link model
-