Skip to content
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

[typescript-fetch] Response headers are not available #7828

Open
bvwells opened this issue Mar 12, 2018 · 2 comments
Open

[typescript-fetch] Response headers are not available #7828

bvwells opened this issue Mar 12, 2018 · 2 comments

Comments

@bvwells
Copy link
Contributor

bvwells commented Mar 12, 2018

Description

Response headers are not available on generated APIs for the typescript-fetch generator. A similar issue was recently fixed for the typescript-angular generator (#6902).

Swagger-codegen version

2.4.0-SNAPSHOT

Swagger declaration file content or url

https://github.com/swagger-api/swagger-codegen/blob/master/modules/swagger-
codegen/src/test/resources/2_0/petstore.yaml

Command line used for generation
swagger-codegen generate -i modules/swagger-codegen/src/test/resources/2_0/petstore.yaml -l typescript-node -o samples/client/petstore/typescript-node/default"
Steps to reproduce
Related issues/PRs

#6902 for typescript-angular generator

Suggest a fix/enhancement
@macjohnny
Copy link
Contributor

@bvwells thanks for reporting. would you like to give it a try and implement this?

@michalzysk
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants