Class SchemaDiffResult
- java.lang.Object
-
- com.github.elibracha.compare.schemadiffresult.SchemaDiffResult
-
- Direct Known Subclasses:
ArraySchemaDiffResult,ComposedSchemaDiffResult
public class SchemaDiffResult extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected com.github.elibracha.model.ChangedSchemachangedSchemaprotected OpenApiDiffopenApiDiff
-
Constructor Summary
Constructors Constructor Description SchemaDiffResult(OpenApiDiff openApiDiff)SchemaDiffResult(String type, OpenApiDiff openApiDiff)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <V extends io.swagger.v3.oas.models.media.Schema<X>,X>
Optional<com.github.elibracha.model.ChangedSchema>diff(HashSet<String> refSet, io.swagger.v3.oas.models.Components leftComponents, io.swagger.v3.oas.models.Components rightComponents, V left, V right, com.github.elibracha.model.DiffContext context)protected Optional<com.github.elibracha.model.ChangedSchema>isApplicable(com.github.elibracha.model.DiffContext context)
-
-
-
Field Detail
-
changedSchema
protected com.github.elibracha.model.ChangedSchema changedSchema
-
openApiDiff
protected OpenApiDiff openApiDiff
-
-
Constructor Detail
-
SchemaDiffResult
public SchemaDiffResult(OpenApiDiff openApiDiff)
-
SchemaDiffResult
public SchemaDiffResult(String type, OpenApiDiff openApiDiff)
-
-
Method Detail
-
diff
public <V extends io.swagger.v3.oas.models.media.Schema<X>,X> Optional<com.github.elibracha.model.ChangedSchema> diff(HashSet<String> refSet, io.swagger.v3.oas.models.Components leftComponents, io.swagger.v3.oas.models.Components rightComponents, V left, V right, com.github.elibracha.model.DiffContext context)
-
isApplicable
protected Optional<com.github.elibracha.model.ChangedSchema> isApplicable(com.github.elibracha.model.DiffContext context)
-
-