-
-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
[BUG] [Typescript] Response headers are not available. #12855
Comments
any news on this? I'd also want to retrieve the ETag header |
Any updates? |
@excavador Check this out, it's already available: |
Hi @Robbilie, can you please advise if I need to provide any specific settings via config to the generator to get methods with WithHttpInfo suffix? |
They should be included by default since the new methods are used by the old ones. I'm still using my own branch for generating the client and haven't tried with the main branch |
@Robbilie Shell we close this issue as resolved? |
I think my PR solved this, even though t doesn't necessarily enforce the types that are defined in the openapi spec it at least grants access to them |
Bug Report Checklist
Description
I want to access the response headers for an E-tag. In the openAPI yaml file, the headers are defined for the response but it doesn't generate anything to access them
the header is defined as follows:
The problem with the headers in the response not being accessible (especially E-tag) seems to be faced by other typescript-xxx client generators #6527
The text was updated successfully, but these errors were encountered: