You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to generate an typescript/angular service with a delete method which has a body param, but the generated services does not use the body param. You can find the generated service's code here and you can see that the body param is not used anywhere.
My suggestion would be that to use httpClient.request({method}) instead of httpClient.{method} with this solutiondelete accepts a body param.
The text was updated successfully, but these errors were encountered:
tamasfoldi
changed the title
[Angular][Typescript] Delete with body generates wrong service
[Angular][Typescript] Delete with body generates not properly working service
Apr 17, 2019
Description
I'm trying to generate an typescript/angular service with a delete method which has a body param, but the generated services does not use the body param. You can find the generated service's code here and you can see that the body param is not used anywhere.
Swagger-codegen version
2.4.4
Swagger declaration file content or url
If you post the code inline, please wrap it with
Command line used for generation
Generated on https://editor.swagger.io/ with
Generate Client
->typescript-angular
My suggestion would be that to use
httpClient.request({method})
instead ofhttpClient.{method}
with this solutiondelete
accepts abody
param.The text was updated successfully, but these errors were encountered: