Package io.apicurio.datamodels.cmd
Class CommandFactory
- java.lang.Object
-
- io.apicurio.datamodels.cmd.CommandFactory
-
public class CommandFactory extends Object
-
-
Constructor Summary
Constructors Constructor Description CommandFactory()
-
Method Summary
-
-
-
Method Detail
-
unmarshall
public static ICommand unmarshall(com.fasterxml.jackson.databind.node.ObjectNode from)
-
createAddHeaderExampleCommand
public static ICommand createAddHeaderExampleCommand(OpenApiHeader header, com.fasterxml.jackson.databind.JsonNode example, String exampleName, String exampleSummary, String exampleDescription)
-
createAddParameterExampleCommand
public static ICommand createAddParameterExampleCommand(OpenApiParameter parameter, com.fasterxml.jackson.databind.JsonNode example, String exampleName, String exampleSummary, String exampleDescription)
-
createAddHeaderExampleCommand
public static ICommand createAddHeaderExampleCommand(OpenApiMediaType mediaType, com.fasterxml.jackson.databind.JsonNode example, String exampleName, String exampleSummary, String exampleDescription)
-
createAddResponseDefinitionCommand
public static ICommand createAddResponseDefinitionCommand(String definitionName, com.fasterxml.jackson.databind.node.ObjectNode from)
-
createAddSchemaDefinitionCommand
public static ICommand createAddSchemaDefinitionCommand(String definitionName, com.fasterxml.jackson.databind.node.ObjectNode from)
-
createAddDocumentSecurityRequirementCommand
public static ICommand createAddDocumentSecurityRequirementCommand(OpenApiDocument document, SecurityRequirement requirement)
-
createAddOperationSecurityRequirementCommand
public static ICommand createAddOperationSecurityRequirementCommand(OpenApiOperation operation, SecurityRequirement requirement)
-
createAddServerSecurityRequirementCommand
public static ICommand createAddServerSecurityRequirementCommand(AsyncApiServer server, SecurityRequirement requirement)
-
createChangePropertyCommand
public static <T> ICommand createChangePropertyCommand(Node node, String property, T newValue)
-
createAddChannelItemCommand
public static ICommand createAddChannelItemCommand(String channelItemName, com.fasterxml.jackson.databind.node.ObjectNode from)
-
createAddPathItemCommand
public static ICommand createAddPathItemCommand(String pathItemName, com.fasterxml.jackson.databind.node.ObjectNode from)
-
createChangeDescriptionCommand
public static ICommand createChangeDescriptionCommand(String newDescription)
-
createChangeContactCommand
public static ICommand createChangeContactCommand(String name, String email, String url)
-
createChangeLicenseCommand
public static ICommand createChangeLicenseCommand(String name, String url)
-
createDeleteExtensionCommand
public static ICommand createDeleteExtensionCommand(Extensible parent, String extensionName)
-
createDeleteMediaTypeCommand
public static ICommand createDeleteMediaTypeCommand(OpenApiMediaType mediaType)
-
createDeleteAllChildSchemasCommand
public static ICommand createDeleteAllChildSchemasCommand(Schema parent, String type)
-
createDeleteAllMediaTypeExamplesCommand
public static ICommand createDeleteAllMediaTypeExamplesCommand(OpenApiMediaType mediaType)
-
createDeleteAllParameterExamplesCommand
public static ICommand createDeleteAllParameterExamplesCommand(OpenApiParameter parameter)
-
createDeleteAllHeaderExamplesCommand
public static ICommand createDeleteAllHeaderExamplesCommand(OpenApiHeader header)
-
createDeleteAllResponseHeadersCommand
public static ICommand createDeleteAllResponseHeadersCommand(OpenApiResponse header)
-
createDeleteAllEncodingHeadersCommand
public static ICommand createDeleteAllEncodingHeadersCommand(OpenApiEncoding header)
-
createDeleteAllPathItemOperationsCommand
public static ICommand createDeleteAllPathItemOperationsCommand(OpenApiPathItem pathItem)
-
createDeleteAllPathItemParametersCommand
public static ICommand createDeleteAllPathItemParametersCommand(OpenApiPathItem parent, String type)
-
createDeleteAllOperationParametersCommand
public static ICommand createDeleteAllOperationParametersCommand(OpenApiOperation parent, String type)
-
createDeleteAllPropertiesCommand
public static ICommand createDeleteAllPropertiesCommand(Schema schema)
-
createDeleteAllResponsesCommand
public static ICommand createDeleteAllResponsesCommand(OpenApiOperation operation)
-
createDeleteAllServerSecurityRequirementsCommand
public static ICommand createDeleteAllServerSecurityRequirementsCommand(AsyncApiServer server)
-
createDeleteAllOperationSecurityRequirementsCommand
public static ICommand createDeleteAllOperationSecurityRequirementsCommand(OpenApiOperation operation)
-
createDeleteAllDocumentSecurityRequirementsCommand
public static ICommand createDeleteAllDocumentSecurityRequirementsCommand(OpenApiDocument document)
-
createDeleteAllSecuritySchemesCommand
public static ICommand createDeleteAllSecuritySchemesCommand()
-
createDeleteAllTagsCommand
public static ICommand createDeleteAllTagsCommand()
-
createDeleteAllDocumentServersCommand
public static ICommand createDeleteAllDocumentServersCommand(OpenApiDocument document)
-
createDeleteAllPathItemServersCommand
public static ICommand createDeleteAllPathItemServersCommand(OpenApiPathItem pathItem)
-
createDeleteAllOperationServersCommand
public static ICommand createDeleteAllOperationServersCommand(OpenApiOperation operation)
-
createReplacePathItemCommand
public static ICommand createReplacePathItemCommand(OpenApiPathItem old, OpenApiPathItem replacement)
-
createReplaceOperationCommand
public static ICommand createReplaceOperationCommand(OpenApiOperation old, OpenApiOperation replacement)
-
createReplaceSchemaDefinitionCommand
public static ICommand createReplaceSchemaDefinitionCommand(OpenApiSchema old, OpenApiSchema replacement)
-
createReplaceResponseDefinitionCommand
public static ICommand createReplaceResponseDefinitionCommand(OpenApiResponse old, OpenApiResponse replacement)
-
createReplaceSecurityRequirementCommand
public static ICommand createReplaceSecurityRequirementCommand(SecurityRequirement old, SecurityRequirement replacement)
-
-