New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
My tests now fail with error: request should have required property 'headers' #447
Comments
this appears to be an issue when using node 15. will look into it. for now you can use node 14 |
cdimascio
added a commit
that referenced
this issue
Nov 7, 2020
cdimascio
added a commit
that referenced
this issue
Nov 7, 2020
fixed in 4.4.3 |
ex1st
pushed a commit
to ex1st/express-openapi-validator
that referenced
this issue
Dec 9, 2020
2 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
In my
api-server-boilerplate/pull/124
repo updatingexpress-open-api-validator
fails with error "request should have required property 'headers'". I get the same error even if I set some headers in the request.To Reproduce
Actual behavior
supertest
, and even when settingAccept: application/json
headers. the API validation fails saying "request should have required property 'headers'"Expected behavior
I expect my tests to pass as before, as the API definition does not require any specific headers and these tests passed previously.
Examples and context
The text was updated successfully, but these errors were encountered: