Package com.github.elibracha.model
Class ChangedSchema
- java.lang.Object
-
- com.github.elibracha.model.ChangedSchema
-
- All Implemented Interfaces:
Changed,ComposedChanged
public class ChangedSchema extends Object implements ComposedChanged
Created by adarsh.sharma on 22/12/17.
-
-
Field Summary
Fields Modifier and Type Field Description protected ChangedSchemaaddPropprotected booleanchangeDefaultprotected booleanchangeDeprecatedprotected Map<String,ChangedSchema>changedPropertiesprotected booleanchangedTypeprotected booleanchangeFormatprotected booleanchangeTitleprotected DiffContextcontextprotected ChangedMetadatadescriptionprotected booleandiscriminatorPropertyChangedprotected ChangedEnum<?>enumerationprotected Map<String,io.swagger.v3.oas.models.media.Schema>increasedPropertiesprotected ChangedSchemaitemsprotected ChangedMaxLengthmaxLengthprotected Map<String,io.swagger.v3.oas.models.media.Schema>missingPropertiesprotected io.swagger.v3.oas.models.media.SchemanewSchemaprotected io.swagger.v3.oas.models.media.SchemaoldSchemaprotected ChangedOneOfSchemaoneOfSchemaprotected ChangedReadOnlyreadOnlyprotected ChangedRequiredrequiredprotected Stringtypeprotected ChangedWriteOnlywriteOnly
-
Constructor Summary
Constructors Constructor Description ChangedSchema()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Changed>getChangedElements()DiffResultisCoreChanged()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.github.elibracha.model.Changed
isCompatible, isDifferent, isIncompatible, isUnchanged
-
Methods inherited from interface com.github.elibracha.model.ComposedChanged
isChanged
-
-
-
-
Field Detail
-
context
protected DiffContext context
-
oldSchema
protected io.swagger.v3.oas.models.media.Schema oldSchema
-
newSchema
protected io.swagger.v3.oas.models.media.Schema newSchema
-
type
protected String type
-
changedProperties
protected Map<String,ChangedSchema> changedProperties
-
increasedProperties
protected Map<String,io.swagger.v3.oas.models.media.Schema> increasedProperties
-
changeDeprecated
protected boolean changeDeprecated
-
description
protected ChangedMetadata description
-
changeTitle
protected boolean changeTitle
-
required
protected ChangedRequired required
-
changeDefault
protected boolean changeDefault
-
enumeration
protected ChangedEnum<?> enumeration
-
changeFormat
protected boolean changeFormat
-
readOnly
protected ChangedReadOnly readOnly
-
writeOnly
protected ChangedWriteOnly writeOnly
-
changedType
protected boolean changedType
-
maxLength
protected ChangedMaxLength maxLength
-
discriminatorPropertyChanged
protected boolean discriminatorPropertyChanged
-
items
protected ChangedSchema items
-
oneOfSchema
protected ChangedOneOfSchema oneOfSchema
-
addProp
protected ChangedSchema addProp
-
-
Method Detail
-
getChangedElements
public List<Changed> getChangedElements()
- Specified by:
getChangedElementsin interfaceComposedChanged
-
isCoreChanged
public DiffResult isCoreChanged()
- Specified by:
isCoreChangedin interfaceComposedChanged
-
-