Class AddSchemaDefinitionCommand

  • All Implemented Interfaces:
    ICommand

    public class AddSchemaDefinitionCommand
    extends AbstractCommand
    A command used to add a new definition in a document. Source for the new definition must be provided. This source will be converted to an OAS 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

      • AddSchemaDefinitionCommand

        public AddSchemaDefinitionCommand()
      • AddSchemaDefinitionCommand

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