The spec yaml files in this repo fail lots of Swagger validations
rogerluan opened this issue · 0 comments
rogerluan commented
Description
If we pass /Specs/PetstoreTest/spec.yml
through the online validator a https://editor.swagger.io, it throws these validation errors:
Same goes for /Specs/Rocket/spec.yml
(there're tens of errors on this one, they wouldn't all fit in a single screenshot):
And /Specs/TBX/spec.json
:
And /Specs/TestSpec/spec.yml
:
And /Specs/TFL/spec.json
:
Room for Improvement
I think a great improvement would be to have a spec validation step in CI for this repo, so that on every PR we'd be checking if all the spec yaml files continue to be valid. Here's a reference: https://swagger.io/blog/api-design/validate-openapi-definitions-swagger-editor/