Class AddResponseDefinitionCommand

  • All Implemented Interfaces:
    ICommand

    public class AddResponseDefinitionCommand
    extends AbstractCommand
    A command used to add a new response definition in a document. Source for the new definition must be provided. This source will be converted to an openapi response definition object and then added to the data model.
    Author:
    eric.wittmann@gmail.com
    • Field Detail

      • _defExisted

        public boolean _defExisted
      • _newDefinitionName

        public String _newDefinitionName
      • _newDefinitionObj

        public com.fasterxml.jackson.databind.node.ObjectNode _newDefinitionObj
      • _nullDefinitionsParent

        public boolean _nullDefinitionsParent
    • Constructor Detail

      • AddResponseDefinitionCommand

        public AddResponseDefinitionCommand()
      • AddResponseDefinitionCommand

        public AddResponseDefinitionCommand​(String definitionName,
                                            com.fasterxml.jackson.databind.node.ObjectNode obj)