Skip to content

Maybe an option to stop having "v1" in names #333

@metal3d

Description

@metal3d

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs infoMore information is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions