restful-react
restful-react copied to clipboard
Move openapi validator to speccy
Is your feature request related to a problem? Please describe.
The ibm validator is nice, but way to strict… no un-usuable in practice (for example type: uuid is an error), let's move to speccy from our old friends -> wework!
https://github.com/wework/speccy
Describe the solution you'd like
We need to way to enable/disable the validation and specify some custom rules from restful-react generate options.
Describe alternatives you've considered https://github.com/IBM/openapi-validator already in place, but sadly always disabled because it's too strict…
Additional context The main idea to have a validator/linter part of our tool is to provide a better message when specs are not valid. Restful-react assume that the spec is perfectly valid for now, so it can break with a non helping message… (at least it can be better)
Also, our backend team already use speccy as validator in CI 😉
100% support this.
Any thoughts on upgrading openapi-validator from 0.16.0 to 0.46.4?
Any thoughts on upgrading openapi-validator from
0.16.0to0.46.4?
You can! Just open a PR and I will review it with pleasure 😁
And so can you. But why would or wouldn't you?
I can do it, I was just in vacation last week, so not in front of a computer 😉
Any thoughts on upgrading openapi-validator from
0.16.0to0.46.4?
Done, should be on 15.9.0 release 😀
@fabien0102 Oh, thanks! I appreciate your work here on this project.