Class AddExampleCommand

  • All Implemented Interfaces:
    ICommand

    public class AddExampleCommand
    extends AbstractCommand
    A command used to add an Example to a MediaType, Parameter, or Header. If an example with the same name already exists, this command does nothing.
    Author:
    eric.wittmann@gmail.com
    • Field Detail

      • _parentPath

        public NodePath _parentPath
      • _newExampleValue

        public com.fasterxml.jackson.databind.JsonNode _newExampleValue
      • _newExampleName

        public String _newExampleName
      • _newExampleSummary

        public String _newExampleSummary
      • _newExampleDescription

        public String _newExampleDescription
      • _exampleAdded

        public boolean _exampleAdded
    • Constructor Detail

      • AddExampleCommand

        public AddExampleCommand()
      • AddExampleCommand

        public AddExampleCommand​(OpenApiExamplesParent parent,
                                 com.fasterxml.jackson.databind.JsonNode example,
                                 String exampleName,
                                 String exampleSummary,
                                 String exampleDescription)