Re: Is there a Java library for request/response validation that is framework agnostic?

2016-09-21 Thread Tom Akehurst
Thanks, that's very useful. I'm working on writing a validator now. Hopefully I should be able to open source it in the next few days. On Tuesday, September 20, 2016 at 5:23:50 PM UTC+1, tony tam wrote: > > Yes, there is a JSON schema to describe the swagger specification, and > also the

Re: Is there a Java library for request/response validation that is framework agnostic?

2016-09-20 Thread Tom Akehurst
Is there a way to adapt a Swagger spec to JSON schema? On Tuesday, September 20, 2016 at 3:38:03 PM UTC+1, Max Goldstein wrote: > > Not only is the inflector tied to a specific stack, it seems to not be > feature-complete. My best idea is to validate incoming requests (and > outgoing responses)

Re: Is there a Java library for request/response validation that is framework agnostic?

2016-09-20 Thread tony tam
What do you mean? > On Sep 20, 2016, at 8:48 AM, Tom Akehurst wrote: > > Is there a way to adapt a Swagger spec to JSON schema? > > On Tuesday, September 20, 2016 at 3:38:03 PM UTC+1, Max Goldstein wrote: > Not only is the inflector tied to a specific stack, it seems to not