I know that several options exist to achieve this. Looking for recommendations from the swagger community.
I know swagger 2.0 is compliant with json schema draft v4
Jackson's validation module is still roughly on to draft v3 - per their github README.
So I was thinking about going with with Francis's (fge on github) java library that supports draft v4 and is the recommended library on
json-schema.org
However, I know about swagger-parser and swagger-validator (new in 2.0). So I am wondering if there is a way to use either of those as a java library for doing server side validation of json payloads to ensure that they are valid swagger 2.0.
Guidance appreciated.
Thanks much,
gautam