Open metal3d opened 1 week ago
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.
/api/v1/xxx
v1Xxxx
For example, /api/v1/projects results on this.apiservice.v1ProjectList().
/api/v1/projects
this.apiservice.v1ProjectList()
And it's a bit redundant, because we need to inject v1Serice and call v1ProjectList.
v1Serice
v1ProjectList
I don't understand why there are both v1 in service name and method, and I don't find how to strip it.
Can you share the openapi definition?
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 arev1Xxxx
.For example,
/api/v1/projects
results onthis.apiservice.v1ProjectList()
.And it's a bit redundant, because we need to inject
v1Serice
and callv1ProjectList
.I don't understand why there are both v1 in service name and method, and I don't find how to strip it.