Class LinkReader

java.lang.Object
io.smallrye.openapi.runtime.io.link.LinkReader

public class LinkReader extends Object
Reading the Link annotation and json
Author:
Phillip Kruger (phillip.kruger@redhat.com), Eric Wittmann (eric.wittmann@gmail.com)
See Also:
  • 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 the Link OpenAPI nodes.
      Parameters:
      node - the json node
      Returns:
      Map of Link model