Class SchemaDiffResult

    • Field Detail

      • changedSchema

        protected com.github.elibracha.model.ChangedSchema changedSchema
    • 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)