Class HeaderWriter

    • 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