express-openapi-validator
Advanced tools
Comparing version 0.53.2 to 0.53.3
{ | ||
"name": "express-openapi-validator", | ||
"version": "0.53.2", | ||
"version": "0.53.3", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -183,2 +183,18 @@ # express-openapi-validator | ||
#### Validate a POST multipart/form-data request | ||
```shell | ||
curl -XPOST http://localhost:3000/v1/pets/10/photos -F filez=@app.js | jq | ||
{ | ||
"errors": [ | ||
{ | ||
"path": "file", | ||
"errorCode": "required.openapi.validation", | ||
"message": "should have required property 'file'", | ||
"location": "body" | ||
} | ||
] | ||
} | ||
``` | ||
#### ...and much more. Try it out! | ||
@@ -185,0 +201,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
42714
204