ng-openapi-gen
ng-openapi-gen copied to clipboard
Maybe an option to stop having "v1" in names
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.