Class ParameterWriter

    • Method Detail

      • writeParameters

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

        public static void writeParameterList​(com.fasterxml.jackson.databind.node.ObjectNode parent,
                                              List<org.eclipse.microprofile.openapi.models.parameters.Parameter> models)
        Writes a list of Parameter to the JSON tree.
        Parameters:
        parent - the parent json node
        models - list of Parameter models