Description I have an exposed file from spring boot server and I am using this script to generate a typescript angular client
openapi-generator-cli generate -g typescript-angular -i ./src/app/data/open-api.json -o ./src/app/data/build/openapi
there are duplicated api names among the system
simple structure
Controller1 : [get,list,delete,... ....] Controller2 : [get,list,delete,... ....] .....
the generated classes looks like
Controller1Service{
public get1 ....
public list1 .....
}
Controller2Service{
public get2 ....
public list2 .....
}
but the functions are unique in the same controller and the generator still adding numbers to them
openapi-generator version 4.3.1 using npm cli
OpenAPI declaration file content or url Command line used for generation openapi-generator-cli generate -g typescript-angular -i ./src/app/data/open-api.json -o ./src/app/data/build/openapi
So any way to make these numbers disappear ?
when updating the backend the numbers may be changed inside and it will lead to a manual code refactor