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).
2.4.0-SNAPSHOT
https://github.com/swagger-api/swagger-codegen/blob/master/modules/swagger-
codegen/src/test/resources/2_0/petstore.yaml
swagger-codegen generate -i modules/swagger-codegen/src/test/resources/2_0/petstore.yaml -l typescript-node -o samples/client/petstore/typescript-node/default"
@bvwells thanks for reporting. would you like to give it a try and implement this?
+1
Most helpful comment
+1