Description I've come across an exposed file in a spring boot server and am utilizing a script to create a typescript angular client. The command being used is: openapi-generator-cli generate -g typescript-angular -i ./src/app/data/open-api.json -o ./src/app/data/build/openapi. There seems to be duplicated api names within the system.
Simple Structure
Controller1 : [get,list,delete,... ....] Controller2 : [get,list,delete,... ....] .....
The resulting classes show:
Controller1Service{
public get1 ....
public list1 .....
}
Controller2Service{
public get2 ....
public list2 .....
}
Despite the functions being unique within the same controller, the generator continues to append numbers to them.
OpenAPI Generator Version 4.3.1 is being utilized via npm cli.
Content of OpenAPI declaration file or url and the command line for generation: openapi-generator-cli generate -g typescript-angular -i ./src/app/data/open-api.json -o ./src/app/data/build/openapi
Is there any way to eliminate these added numbers? Updating the backend may result in changes to these numbers, necessitating manual code modifications.