You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm personally mostly interested in the option to change the naming to PascalCase.
Like in the title.
Is there an option to set, that will change the name of models from camelCase to PascalCase, and option that would set model to be declared as interfaces instead of types ?
By default we have types with camelCase names
I would like to get interfaces with PascalCase names.
The text was updated successfully, but these errors were encountered:
@pawKer the types are defined based on the naming of the model in your spec. If you use PascalCase there they will be PascalCase. If you use camelCase, they will be camelCase.
Cc: @mrlubos about the ability to choose interface vs types.
We could add this through optional objects, although I think we should set pascalcase for interfaces by default as that's the recommended TypeScript way. Which would in turn remove the need for this pull feature, but to avoid breaking output for others, we should offer camelcase too 😀
Description
Just a copy of this feature request from the
openapi-typescript-codegen
projectferdikoomen/openapi-typescript-codegen#1893
I'm personally mostly interested in the option to change the naming to PascalCase.
The text was updated successfully, but these errors were encountered: