Class 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:
    linkObject
    • Method Detail

      • 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