ng-openapi-gen icon indicating copy to clipboard operation
ng-openapi-gen copied to clipboard

Maybe an option to stop having "v1" in names

Open metal3d opened this issue 3 months ago • 2 comments

Hello,

I successfully use the generator, and it saves a lot of time: thanks

Just one note, our API endpoints are like /api/v1/xxx and the methods generated are v1Xxxx.

For example, /api/v1/projects results on this.apiservice.v1ProjectList().

And it's a bit redundant, because we need to inject v1Serice and call v1ProjectList.

I don't understand why there are both v1 in service name and method, and I don't find how to strip it.

metal3d avatar Nov 12 '24 11:11 metal3d