Class LinkWriter

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

public class LinkWriter extends Object
Writing the Link to json
Author:
Phillip Kruger (phillip.kruger@redhat.com), Eric Wittmann (eric.wittmann@gmail.com)
See Also:
  • Method Details

    • writeLinks

      public static void writeLinks(com.fasterxml.jackson.databind.node.ObjectNode parent, Map<String,org.eclipse.microprofile.openapi.models.links.Link> links)
      Writes a map of Link to the JSON tree.
      Parameters:
      parent - the parent json node
      links - map of Link models