Is there a way to use Swagger just for validation without using the whole framework?
<p>Suppose I have an existing Java service implementing a JSON HTTP API, and I want to add a Swagger schema and automatically validate requests and responses against it without retooling the service to use the Swagger framework / code generation. Is there anything providing a Java API that I can tie into and pass info about the requests / responses to validate?</p>

<p>(Just using a JSON schema validator would mean manually implementing a lot of the additional features in Swagger.)</p>