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** In OpenAPI specs, I have a field with date-time format like startDateTime: type: string format:date-time express-openapi-validator is giving error on even correct date-time dates("startDateTime": "2022-02-15T00:00:00Z") . Below...
**Describe the bug** Serdes performs well on properties in an object. However, when the owning object is part of an array, then `serialize` is never called. **To Reproduce** 1. `git...
Using the following route specification: ``` yaml /user/avatar: patch: operationId: patchUserAvatar summary: Upload user avatar description: Upload a user avatar tags: - Users requestBody: description: Avatar image required: true content:...
At the moment, `discriminator` is supported at the top level only. This seems to mean that e.g. an endpoint can return a body of schema A or B. Example 8...
I have a request with the following body: ``` yaml requestBody: content: multipart/form-data: schema: type: object properties: avatar: type: string format: binary encoding: avatar: contentType: image/jpeg ``` However I can...
**Is your feature request related to a problem? Please describe.** Suppor unicode in pattern as pƄ JSON schema 2020-12, like the following: ``` schema: type: string example: "North Street" pattern:...
Getting an unsupported $ref issue on an 3.0.3 openAPI validation Schemas are referenced from other files all over my spec but for some reason the last reference is causing this...
In case `apiSpec` validation fails (and `validateApiSpec` is set to `true`), some error messages are dumped to console, but middleware initialization executes normally. An error is thrown later, when you...
related issue: https://github.com/expressjs/multer/issues/814 Used the solution described in the above link to fix the issue
I'm trying to upload a file but I'm not sure what is going wrong here. Looks like an openapi validation error. Maybe someone can help me out? Client side (nodejs...