New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Validation of endpoints against a given OpenAPI schema #3645
Comments
What's the "user story" here? Is it something like:
? |
This, or: develops an API, publishes it, and wants to ensure that anything that's changed doesn't break the published contract |
softwaremill/sttp-apispec#157 introduced
Possible improvements to
Further work needed to have a full OpenApi comparator:
|
Proposed structure for compatibility issues reported by full OpenAPI comparator
Compatibility issues for
Note: "writer" and "reader" correspond to:
|
Sometimes it might be desirable to verify if the endpoints match a given OpenAPI schema. To implement this, we would need to parse the schema (see softwaremill/sttp-apispec#2 - although this is already partially done), and then invoke comparison of the two schemas (generated from endpoints & parsed), ignoring fields which do not matter (e.g. descriptions, or examples)
The text was updated successfully, but these errors were encountered: