express-openapi-validator
express-openapi-validator copied to clipboard
🦋 Auto-validates api requests, responses, and securities using ExpressJS and an OpenAPI 3.x specification
**Describe the bug** (NOTE: Sorry, this is more of a question I think as I am trying to figure out an error rather than a bug report) Getting `Cannot read...
**Is your feature request related to a problem? Please describe.** We are moving the company to use the lib but one issue we struggle with is identifying the validator errors...
#589 **This does not contain the fix yet, just a unit test to replicate the problem. In other words, the test should fail for now until the bug has been...
**Is your feature request related to a problem? Please describe.** openapi-validator is doing a great job on request validation against the openapi spec file. However there are validations rules cannot...
**Describe the bug** I have an API specification that is valid according to swaggerhub.com, where I author it. I submitted an issue previously about a pattern that failed, since I...
**Describe the bug** When you return a JSON response that contains a date object created by an [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) string, and in the API spec (.yaml) the date field is type...
**Describe the bug** I recently switched from version 4.9.4 to the latest version and noticed that the heap usage over runtime in my app increased from ~200MB to ~550MB. After...
Hello. For our APIs we have error messages with certain structure. Therefore it would be nice to be able to define own error handler for request validation, similar to the...
**Related problem** We use the response validation, but it also tries to validate responses that should not be validated. We use the `ApiExcludeEndpoint` decorator from nestjs/swagger on some endpoints to...
**Describe the bug** Matching response status codes from the spec appear not to be working or too forgiving? **To Reproduce** - Edit the `api.yaml` in `1-standard` example, changing `/ping` response...