Skip to content

When is 'modelPropertyNaming' config option necessary? #6632

@will-beta

Description

@will-beta

I have some APIs coded with c#, conforming to PascalCase naming conversion for the property of classes (also in the swagger document).
After I generated a Typescript-Node client library with swagger-online-editor , to my surprise I found that the generated properties of classes are camelCase.
So after some researching, I found the 'modelPropertyNaming' config option, which can be set as camelCase | PascalCase | Original.
My question is: In what kind of scenarios, is 'modelPropertyNaming' config option necessary?

Thanks in advance !

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions