Closed adamabeshouse closed 6 years ago
In swagger-codegen, they have WithHttpInfo methods which return the response header as well as the body.
WithHttpInfo
https://github.com/swagger-api/swagger-codegen/pull/4902
Currently there doesn't seem to be a way to do this in swagger-js-codegen, the request promises resolve with the response body automatically.
nevermind I think I misunderstood
In swagger-codegen, they have
WithHttpInfo
methods which return the response header as well as the body.https://github.com/swagger-api/swagger-codegen/pull/4902
Currently there doesn't seem to be a way to do this in swagger-js-codegen, the request promises resolve with the response body automatically.