openapi-typescript-codegen
openapi-typescript-codegen copied to clipboard
PascalCase for type names, or interfaces instead of types in models
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 intefaces with PascalCase names.
+1 also interested to know if there's a way to do this without actually changing the types in the OpenAPI file to PascalCase.
Yep, we will add this option in https://github.com/hey-api/openapi-ts