Class HeaderWriter


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

      • writeHeaders

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