We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
No headers will be in the response object. The code looks like:
const res = await fetch(getTaskResourceListAllUrl(params), { ...options, method: 'GET' } ) const data = await res.json() // Issue: please add the "res.headers" into the return statement return { status: res.status, data } }
Add headers in the response object, at least when openapi.json describes custom headers for an API endpoint.
headers
response
openapi.json
"orval": "^7.2.0",
The text was updated successfully, but these errors were encountered:
@nimo23 can you review my PR i think that is what you are asking for?
Sorry, something went wrong.
melloware
soartec-lab
Successfully merging a pull request may close this issue.
What are the steps to reproduce this issue?
What happens?
No headers will be in the response object. The code looks like:
What were you expecting to happen?
Add
headers
in theresponse
object, at least whenopenapi.json
describes custom headers for an API endpoint.What versions are you using?
"orval": "^7.2.0",
The text was updated successfully, but these errors were encountered: