I have a JSON payload (request or response) and I want to validate that instance against a swagger schema that I have. How do I do that?
Please note that I am not trying to validate if my spec is an OpenAPI/Swagger spec.
I'd like to achieve this without the use of external JSON validators. I am also trying to achieve this in Go (specifically go-openapi)
Thanks.