I created a REST API using a Swagger definition, now I need to validate incoming messages using that swagger schema. I found several solutions however all of them rely on so
There is the swagger-request-validator having several adapters for various frameworks, e.g.: Spring Web MVC
It is capable of validating requests and / or responses against Swagger / OpenAPI 2 or OpenAPI 3 schemes.
It doesn't simply validate the defined JSON body. It validates the rest of the request, too, like path (variables), headers, etc.
The validator is capable of i18n.
Up until now the most complete validation against Swagger and OpenAPI in Java.