openapi-diff
openapi-diff copied to clipboard
Utility for comparing two OpenAPI specifications.
Is it possible to show non-breaking changes (i.e. added fields) to the schema body? The current output simply states "changed body: 'application/json'" If I reverse the comparison I get a...
input files: https://gist.github.com/hasufell/1ae28db2326569d885c1e580515dc2f6 Full error: ``` $ docker run --rm -v /etc/passwd:/etc/passwd:ro -u (id -u):(id -g) -v (pwd):(pwd) -w (pwd) openapitools/openapi-diff specifications/api/swagger.yaml.v2020-11-03 specifications/api/swagger.yaml.v2020 -11-17-135-g5d316c5ef --markdown api-diff.md ERROR [io.swagger.parser.SwaggerCompatConverter] - failed...
This PR is an example of the bug listed in issue https://github.com/OpenAPITools/openapi-diff/issues/272.
Lets say that the old and the new OpenAPI schemas have classes **Object1** and **Object2**, both of which have a field _myField1_ without changes in-between the openapi schemas. If **Obejct1.myField1**...
The specs I want to compare have a version identifier in their paths: E.g. `api/v1/users` and `api/v2/users` Comparing these specs triggers false positives because of the paths, even when the...
I have a requirement to set Changes between 2 specs as a `BREAKING` change if there is a missing tag in the newer spec. I was going through the docs/code...
https://github.com/OpenAPITools/openapi-diff/issues/136 made the PUT request incompatibility check stricter, considering an additional field as a breaking change. This makes sense for a scenario where updates are taking place, but is too...
Please document what is considered a compatible change and what is considered non-compatible change. Something like this - https://bitbucket.org/atlassian/openapi-diff/src/master/
Our company uses the following process in contract validation space (currently with Swagger 2.0/asserj-swagger) - Create a contract-first specification in YAML/Swagger 2.0 - Generate code from the contract-first specification (using...
Try this.... See last exploratory test I added to the existing test case. As a user it just seems totally broken? ``` package org.openapitools.openapidiff.core; import io.swagger.parser.OpenAPIParser; import io.swagger.v3.oas.models.OpenAPI; import io.swagger.v3.oas.models.Operation;...