Modifier and Type | Method and Description |
---|---|
protected OasSchema |
AddSchemaDefinitionCommand_30.createSchemaDefinition(OasDocument document) |
protected OasSchema |
AddSchemaDefinitionCommand_20.createSchemaDefinition(OasDocument document) |
protected abstract OasSchema |
AddSchemaDefinitionCommand.createSchemaDefinition(OasDocument document) |
Modifier and Type | Method and Description |
---|---|
protected void |
AddSchemaDefinitionCommand_30.addDefinition(OasDocument document,
OasSchema definition) |
protected void |
AddSchemaDefinitionCommand_20.addDefinition(OasDocument document,
OasSchema definition) |
protected abstract void |
AddSchemaDefinitionCommand.addDefinition(OasDocument document,
OasSchema definition) |
static ICommand |
CommandFactory.createDeleteAllPropertiesCommand(OasSchema schema) |
static ICommand |
CommandFactory.createRenamePropertyCommand(OasSchema parent,
String oldPropertyName,
String newPropertyName) |
Modifier and Type | Method and Description |
---|---|
static SimplifiedType |
SimplifiedType.fromSchema(OasSchema schema) |
Modifier and Type | Method and Description |
---|---|
static void |
SimplifiedTypeUtil.setSimplifiedType(OasSchema node,
SimplifiedType type) |
void |
SetItemsTypeVisitor.visitAdditionalPropertiesSchema(OasSchema node) |
void |
SetItemsTypeVisitor.visitAllOfSchema(OasSchema node) |
void |
SetItemsTypeVisitor.visitItemsSchema(OasSchema node) |
Modifier and Type | Method and Description |
---|---|
void |
CombinedVisitorAdapter.visitAdditionalPropertiesSchema(OasSchema node) |
void |
CombinedAllNodeVisitor.visitAdditionalPropertiesSchema(OasSchema node) |
void |
CombinedCompositeVisitor.visitAdditionalPropertiesSchema(OasSchema node) |
void |
CombinedVisitorAdapter.visitAllOfSchema(OasSchema node) |
void |
CombinedAllNodeVisitor.visitAllOfSchema(OasSchema node) |
void |
CombinedCompositeVisitor.visitAllOfSchema(OasSchema node) |
void |
CombinedVisitorAdapter.visitItemsSchema(OasSchema node) |
void |
CombinedAllNodeVisitor.visitItemsSchema(OasSchema node) |
void |
CombinedCompositeVisitor.visitItemsSchema(OasSchema node) |
Modifier and Type | Method and Description |
---|---|
void |
OasInvalidSchemaReferenceRule.visitAdditionalPropertiesSchema(OasSchema node) |
void |
OasInvalidSchemaReferenceRule.visitAllOfSchema(OasSchema node) |
void |
OasInvalidSchemaReferenceRule.visitItemsSchema(OasSchema node) |
Modifier and Type | Method and Description |
---|---|
void |
OasInvalidPropertyTypeValidationRule.visitAdditionalPropertiesSchema(OasSchema node) |
void |
OasInvalidPropertyTypeValidationRule.visitAllOfSchema(OasSchema node) |
void |
OasInvalidPropertyTypeValidationRule.visitItemsSchema(OasSchema node) |
Modifier and Type | Method and Description |
---|---|
void |
OasMissingSchemaArrayInformationRule.visitAdditionalPropertiesSchema(OasSchema node) |
void |
OasMissingSchemaArrayInformationRule.visitAllOfSchema(OasSchema node) |
void |
OasMissingSchemaArrayInformationRule.visitItemsSchema(OasSchema node) |
Modifier and Type | Method and Description |
---|---|
void |
OasDataModelWriter.visitAdditionalPropertiesSchema(OasSchema node) |
void |
OasDataModelReaderDispatcher.visitAdditionalPropertiesSchema(OasSchema node) |
void |
OasDataModelWriter.visitAllOfSchema(OasSchema node) |
void |
OasDataModelReaderDispatcher.visitAllOfSchema(OasSchema node) |
void |
OasDataModelWriter.visitItemsSchema(OasSchema node) |
void |
OasDataModelReaderDispatcher.visitItemsSchema(OasSchema node) |
Modifier and Type | Field and Description |
---|---|
List<OasSchema> |
OasSchema.allOf |
Map<String,OasSchema> |
OasSchema.properties |
Modifier and Type | Method and Description |
---|---|
OasSchema |
OasSchema.addProperty(String propertyName,
OasSchema schema)
Add a property.
|
abstract OasSchema |
OasSchema.createAdditionalPropertiesSchema()
Creates a child schema model.
|
abstract OasSchema |
OasSchema.createAllOfSchema()
Creates a child schema model.
|
abstract OasSchema |
OasSchema.createItemsSchema()
Creates a child schema model.
|
abstract OasSchema |
OasSchema.createPropertySchema(String propertyName)
Creates a child schema model.
|
OasSchema |
OasSchema.getProperty(String propertyName)
Gets a single property.
|
OasSchema |
OasSchema.removeProperty(String propertyName)
Removes a property by name.
|
Modifier and Type | Method and Description |
---|---|
List<OasSchema> |
OasSchema.getProperties()
Gets a list of all the properties.
|
Modifier and Type | Method and Description |
---|---|
void |
OasSchema.addAllOfSchema(OasSchema schema)
Adds an AllOf schema.
|
OasSchema |
OasSchema.addProperty(String propertyName,
OasSchema schema)
Add a property.
|
void |
OasSchema.removeAllOfSchema(OasSchema schema)
Removes a allOf schema.
|
Modifier and Type | Class and Description |
---|---|
class |
Oas20Schema |
static class |
Oas20Schema.Oas20AdditionalPropertiesSchema |
static class |
Oas20Schema.Oas20AllOfSchema |
static class |
Oas20Schema.Oas20ItemsSchema |
static class |
Oas20Schema.Oas20PropertySchema |
class |
Oas20SchemaDefinition
Models an OpenAPI 2.0 schema definition.
|
Modifier and Type | Method and Description |
---|---|
OasSchema |
Oas20Schema.createAdditionalPropertiesSchema() |
OasSchema |
Oas20Schema.createAllOfSchema() |
OasSchema |
Oas20Schema.createItemsSchema() |
OasSchema |
Oas20Schema.createPropertySchema(String propertyName) |
Modifier and Type | Class and Description |
---|---|
class |
Oas30Schema
Models an OpenAPI 3.0.x schema.
|
static class |
Oas30Schema.Oas30AdditionalPropertiesSchema |
static class |
Oas30Schema.Oas30AllOfSchema |
static class |
Oas30Schema.Oas30AnyOfSchema |
static class |
Oas30Schema.Oas30ItemsSchema |
static class |
Oas30Schema.Oas30NotSchema |
static class |
Oas30Schema.Oas30OneOfSchema |
static class |
Oas30Schema.Oas30PropertySchema |
class |
Oas30SchemaDefinition |
Modifier and Type | Field and Description |
---|---|
OasSchema |
Oas30Schema.not |
Modifier and Type | Field and Description |
---|---|
List<OasSchema> |
Oas30Schema.anyOf |
List<OasSchema> |
Oas30Schema.oneOf |
Modifier and Type | Method and Description |
---|---|
OasSchema |
Oas30Schema.createAdditionalPropertiesSchema() |
OasSchema |
Oas30Schema.createAllOfSchema() |
OasSchema |
Oas30Schema.createItemsSchema() |
OasSchema |
Oas30Schema.createPropertySchema(String propertyName) |
Modifier and Type | Method and Description |
---|---|
void |
OasVisitorAdapter.visitAdditionalPropertiesSchema(OasSchema node) |
void |
OasTraverser.visitAdditionalPropertiesSchema(OasSchema node) |
void |
OasNodePathVisitor.visitAdditionalPropertiesSchema(OasSchema node) |
void |
OasAllNodeVisitor.visitAdditionalPropertiesSchema(OasSchema node) |
void |
IOasVisitor.visitAdditionalPropertiesSchema(OasSchema node) |
void |
OasVisitorAdapter.visitAllOfSchema(OasSchema node) |
void |
OasTraverser.visitAllOfSchema(OasSchema node) |
void |
OasNodePathVisitor.visitAllOfSchema(OasSchema node) |
void |
OasAllNodeVisitor.visitAllOfSchema(OasSchema node) |
void |
IOasVisitor.visitAllOfSchema(OasSchema node) |
void |
OasVisitorAdapter.visitItemsSchema(OasSchema node) |
void |
OasTraverser.visitItemsSchema(OasSchema node) |
void |
OasNodePathVisitor.visitItemsSchema(OasSchema node) |
void |
OasAllNodeVisitor.visitItemsSchema(OasSchema node) |
void |
IOasVisitor.visitItemsSchema(OasSchema node) |
Modifier and Type | Method and Description |
---|---|
void |
Oas20to30TransformationVisitor.visitAdditionalPropertiesSchema(OasSchema node) |
void |
Oas20to30TransformationVisitor.visitAllOfSchema(OasSchema node) |
void |
Oas20to30TransformationVisitor.visitItemsSchema(OasSchema node) |
Copyright © 2019 Red Hat. All rights reserved.