fern icon indicating copy to clipboard operation
fern copied to clipboard

For typescript generator, retainOriginalCasing is undocumented

Open alexisvincent opened this issue 8 months ago • 2 comments

What's the issue?

Missing content (not covered in the docs)

URL of the documentation page (if applicable)

No response

Describe the gap or issue

For typescript generator, retainOriginalCasing is undocumented

How should this be improved?

No response

Are you interested in contributing this improvement?

No

alexisvincent avatar Apr 12 '25 02:04 alexisvincent

hey @alexisvincent could you provide a bit more context on the issue? Specifically:

  • A brief description of what retainOriginalCasing does or how you're using it.

  • Where exactly you expected to see it documented?

vikramnagwal avatar Apr 13 '25 04:04 vikramnagwal

Sure, its one of the options accepted by the typescript generator. It avoids renaming openapi keys from something like display_name to displayName during generation. I'd expect to see it here https://github.com/fern-api/fern/tree/main/generators/typescript and maybe in the main docs too.

It's an omission for something that already exists. Simply undocumented

alexisvincent avatar Apr 14 '25 12:04 alexisvincent

Closing as complete in https://github.com/fern-api/fern/commit/80fe07d58053d903b8868a628475745c593a05bd (not in /learn, but documented in the README)

dannysheridan avatar May 18 '25 18:05 dannysheridan