Skip to content

Keep casing for schema types exported to root#2524

Open
gunnarvelle wants to merge 4 commits intoopenapi-ts:mainfrom
gunnarvelle:keep-dto-suffix
Open

Keep casing for schema types exported to root#2524
gunnarvelle wants to merge 4 commits intoopenapi-ts:mainfrom
gunnarvelle:keep-dto-suffix

Conversation

@gunnarvelle
Copy link

@gunnarvelle gunnarvelle commented Nov 14, 2025

Changes

#2402
Adds flag to keep casing of the schema types exported at the root of the generated typescript.

How to Review

The test options > rootTypes: true but keep casing shows the effect of the change

Checklist

  • Unit tests updated
  • docs/ updated (if necessary)
  • pnpm run update:examples run (only applicable for openapi-typescript)

@gunnarvelle gunnarvelle requested a review from a team as a code owner November 14, 2025 09:21
@gunnarvelle gunnarvelle requested a review from drwpow November 14, 2025 09:21
@netlify
Copy link

netlify bot commented Nov 14, 2025

👷 Deploy request for openapi-ts pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 3fb1166

@changeset-bot
Copy link

changeset-bot bot commented Nov 14, 2025

🦋 Changeset detected

Latest commit: 3fb1166

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
openapi-typescript Minor
swr-openapi Major

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@gunnarvelle gunnarvelle changed the title Keep dto suffix Keep casing for schena types exported to root Nov 14, 2025
@gunnarvelle gunnarvelle changed the title Keep casing for schena types exported to root Keep casing for schema types exported to root Nov 14, 2025
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.

1 participant