express-openapi-validator icon indicating copy to clipboard operation
express-openapi-validator copied to clipboard

🦋 Auto-validates api requests, responses, and securities using ExpressJS and an OpenAPI 3.x specification

Results 215 express-openapi-validator issues
Sort by recently updated
recently updated
newest added

If multiple securities are configured for an endpoint and multiple are not met, the `errors` object only contains the first security error, instead of all security errors.

**Is your feature request related to a problem? Please describe.** Right now, `serDes` only works for fields that are `type: 'string'`, but I have found a few cases where I...

enhancement

**Describe the bug** We are using tsoa for generating OpenAPI specs(https://tsoa-community.github.io/docs/generating.html#using-cli) and it is working fine. But when I try to use express-openapi-validator I get below error: ``` ERROR in...

**Is your feature request related to a problem? Please describe.** Per [validateRequests.coerceTypes](https://github.com/cdimascio/express-openapi-validator#%EF%B8%8F-validaterequests-optional) we automatically always coerce request query, path params, headers, and cookies. When we use multipart request body, properties...

When a security scheme fails, the next scheme will fail if it requires two api keys. This is new behavior as of PR 393, whereas in the past it would...

**Is your feature request related to a problem? Please describe.** I am using the express-openapi-validator for various services at my company. Currently the only way we have found to effectively...

question

I have an OpenAPI 3.0.2 definition which I use to create the public documentation for my API. In the spec, I list the URL:s of my public servers under the...

**Describe the bug** When a malformed polymorphic implementation is in an array, errors returned by express-open-api validator state that the object must implement all required properties of all polymorphic implementations...

I have added test that shows the issue - serialization does not apply to schemas for array items.

**Is your feature request related to a problem? Please describe.** I'd like to use this project to do validation of resource IDs against our database. For example: We could have...