Skip to content

[BUG][Go] respect initialisms or acronyms in names #4833

@jirikuncar

Description

@jirikuncar

Description

Names in generated Go clients do not respect recommended style.

Url -> URL
Id -> ID
Http -> HTTP
openapi-generator version

all

Related issues/PRs

https://github.com/golang/go/wiki/CodeReviewComments#initialisms

Suggest a fix

Override GoExperimentalCodegen.toParamName method.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions