Skip to content

Document casing sub-field for x-fern-enum extension#4476

Merged
fern-support merged 1 commit into
mainfrom
devin/1774119568-document-casing-field
Mar 21, 2026
Merged

Document casing sub-field for x-fern-enum extension#4476
fern-support merged 1 commit into
mainfrom
devin/1774119568-document-casing-field

Conversation

@Swimburger

@Swimburger Swimburger commented Mar 21, 2026

Copy link
Copy Markdown
Member

Summary

Adds a new "Custom casing" section to the x-fern-enum extension docs page, documenting the casing sub-field that allows per-language casing overrides for enum values.

Changes:

  • Updated frontmatter (title, headline, description) to mention casing
  • Added ## Custom casing section after the existing "Custom names" section
  • Documents the four optional sub-fields: snake, camel, screamingSnake, pascal
  • Includes a YAML example with line highlights
  • Explains how casing interacts with name

Review & Testing Checklist for Human

  • Verify casing sub-field names and semantics match the actual Fern implementation — the four fields (snake, camel, screamingSnake, pascal) and their described language mappings (Python, TS/Java, Go, C#) were taken from the task description and not verified against source code
  • Check the YAML example is valid and the line highlights {13-17} point to the correct lines (the casing block)
  • Preview the page to confirm the updated title renders well in navigation and the new section looks good

Notes

  • Vale style checks were not run locally (Vale CLI not installed on the build machine); CI should catch any violations.
  • No new pages or links were added, so no navigation or redirect changes needed.

Link to Devin session: https://app.devin.ai/sessions/2b9bd7d4bb33434997ba0f902132d39d
Requested by: @Swimburger


Open with Devin

Co-Authored-By: Niels Swimberghe <3382717+Swimburger@users.noreply.github.com>
@devin-ai-integration

Copy link
Copy Markdown
Contributor

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

@github-actions

Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Open in Devin Review

@fern-support fern-support merged commit a4bd036 into main Mar 21, 2026
4 checks passed
@fern-support fern-support deleted the devin/1774119568-document-casing-field branch March 21, 2026 19:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants