openapi-style-validator
openapi-style-validator copied to clipboard
Basic skeleton for plugging custom rules in the validation chain.
This is the first to attempt improve this validation tool to be more extensible and customisable as discussed in https://github.com/OpenAPITools/openapi-style-validator/issues/347. I just created basic skeleton on how we can implement a custom rule in the existing feature. The design is inspired from the custom generator approach. The idea is at very nascent stage, we can discuss further to improve this validator to be more extensible and customisable.
Hi @thiyagu06 ! Thanks for this PR. Looks very interesting. I'm currently on vacation and will look closely when I get back. Thanks. In the meantime, you can check for the Lift recommandation. Also, don't worry about the build failing. It's because of Sonarqube.
Hi @thiyagu06, please update with latest master. I have removed the sonarqube scan (too much bugs/missing features). It should build without issues now.
Hi @JFCote ,I hope I answered most of your queries. I will try to find sometime during this week to refine more on this approach.
Hi @JFCote , If you feel the PR is huge and trying to do too much in a single PR. I can split into multiple logical unit and raise another PR once we agreed upon the new design. You can take a look at an sample here custom rules to see my thoughts in actions.
Hey @thiyagu06 , I'm back from vacation and will try to look at this in the upcoming days. Thanks
Hi @thiyagu06 ! Sorry for the delay! I really like the design and would like that we start working towards that. I'm thinking this could take a lot of PRs and love the idea that we go step by step, assuring that nothing is broken along the way. So I guess this PR will be closed and you will start fresh?
@JFCote , Thanks for the comments. I will think about more on how to split up the work without breaking the existing flow in coming weeks and create small logical PRs 😄 .