Open rogerluan opened 2 years ago
If we pass /Specs/PetstoreTest/spec.yml through the online validator a https://editor.swagger.io, it throws these validation errors:
/Specs/PetstoreTest/spec.yml
Same goes for /Specs/Rocket/spec.yml (there're tens of errors on this one, they wouldn't all fit in a single screenshot):
/Specs/Rocket/spec.yml
And /Specs/TBX/spec.json:
/Specs/TBX/spec.json
And /Specs/TestSpec/spec.yml:
/Specs/TestSpec/spec.yml
And /Specs/TFL/spec.json:
/Specs/TFL/spec.json
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/
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/