Open sherl0cks opened 6 years ago
This diff resolved the validation issues in swagger UI and import of this doc into apicurio worked as expected, apart from #349
Clearly the validation rules in Swagger UI are different than what has been implemented in Apicurio. And those differences will only increase over time, as I have more bandwidth to extend the set of validation rules in Apicurio.
I'll have to go through each of these (mostly dupes it seems) but at first glance it definitely seems like at least the "response description required property" validation rule is missing from Apicurio. I thought that was made optional in 3.0.x of the spec (which is why I didn't implement it) but now that I've checked the specification again it seems I was wrong! :) So I'll open a separate issue for that and take a look at the rest of these later.
Just hit some other validation oddities, should I open those here or in https://github.com/Apicurio/oai-ts-core/issues/?
Yeah that'd be great!
I exported my API which has no validation errors in apicurio and then imported to swagger editor, where I got a looooong list of validation errors: