Bug Report Checklist
Description
When generating an API using the "typescript-angular" generator with the following parameters:
--additional-properties ngVersion=11
Using the CLI which outputs version:
tor-cli version 5.3.0-SNAPSHOT
From an OAS 3 yaml file like the attached:
api.txt
The resulting method in the API service does not include the requestBody with the http delete request, like this:
delete.txt
Where the requestBody parameter should be included with the call to this.httpClient.delete.
openapi-generator version
Using the CLI outputs version:
tor-cli version 5.3.0-SNAPSHOT
I do not know if this is a regression.
Steps to reproduce
Place yaml file in working directory.
Run:
docker run --rm -v ${PWD}:/local openapitools/openapi-generator-cli generate \ -i /local/image-management-api.yml \ -g typescript-angular \ -o /local/out/typescript-angular \ --additional-properties ngVersion=11,npmName=my-api,npmVersion=0.1.0
Related issues/PRs
Could not find any open/closed issues similar for the typescript-angular generator.
Suggest a fix
Browsed the source for about an hour, didn't really see where to make a change.
Bug Report Checklist
Description
When generating an API using the "typescript-angular" generator with the following parameters:
--additional-properties ngVersion=11Using the CLI which outputs version:
tor-cli version 5.3.0-SNAPSHOTFrom an OAS 3 yaml file like the attached:
api.txt
The resulting method in the API service does not include the
requestBodywith the http delete request, like this:delete.txt
Where the
requestBodyparameter should be included with the call tothis.httpClient.delete.openapi-generator version
Using the CLI outputs version:
tor-cli version 5.3.0-SNAPSHOTI do not know if this is a regression.
Steps to reproduce
Place yaml file in working directory.
Run:
docker run --rm -v ${PWD}:/local openapitools/openapi-generator-cli generate \ -i /local/image-management-api.yml \ -g typescript-angular \ -o /local/out/typescript-angular \ --additional-properties ngVersion=11,npmName=my-api,npmVersion=0.1.0Related issues/PRs
Could not find any open/closed issues similar for the typescript-angular generator.
Suggest a fix
Browsed the source for about an hour, didn't really see where to make a change.