Open erosb opened 6 months ago
When I started with this I didn't find any json schema validator that I liked. 😕
Most of the java validators had a dependency on a specific json/yaml parser (which I would like to avoid) or didn't support 2020-12.
Having a pluggable validator would be interesting 🙂
I never thought about it. Strange.
Hard to tell how much work this would be. The OpenAPI parser uses a couple of classes from the validator..
Most of the java validators had a dependency on a specific json/yaml parser (which I would like to avoid) or didn't support 2020-12.
Well, yes, erosb/json-sKema fits that bill (has its own json parser, rather than using external dependency, and it supports draft-2020-12).
I think I just looked at the implementations in java 😉
we could work at that. My goal would be to have the possibility to switch the json schema validator, i.e. to avoid & remove the dependency on a specific validator.
This would require a json schema validator abstraction the OpenAPI parser could use.
That is probably an interesting task... no idea how well this would work 🤔
Hello @hauner would you see any value in integrating an existing json schema validator into your project, rather than maintaining your own? If you can see any value in that, I'm happy to help, as the maintainer of https://github.com/erosb/json-sKema/ .