I am searching for a JS library (ideally usable in the browser) to:
- check a particular JSON payload (typically a response from an API) against an OpenAPI 3.0 schema (YAML or JSON)
- ideally decorate that JSON payload with information extracted from the OpenAPI 3.0 schema (eg. documentation information)
- alternatively allow callbacks to external handling functions for each error / match in the validation step