Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork552
feat(openapi-fetch): add support for pathSerializer option#2362
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:main
Are you sure you want to change the base?
Conversation
- Introduced `pathSerializer` to `ClientOptions` for enhanced path handling.- Updated `createClient` function to utilize `pathSerializer` from options.- Modified `createFinalURL` to apply the provided `pathSerializer`.
netlifybot commentedJun 28, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
👷 Deploy request foropenapi-ts pending review.Visit the deploys page to approve it
|
changeset-botbot commentedJun 28, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
🦋 Changeset detectedLatest commit:3ff91ad The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 packages
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 |
Uh oh!
There was an error while loading.Please reload this page.
Changes
What does this PR change? Link to any related issue(s).
This PR adds support for setting path serializers yourself, either globally or per request. Similar to how bodySerializers & querySerializers work.
resolves#1660
How to Review
How can a reviewer review your changes? What should be kept in mind for this review?
Checklist
docs/
updated (if necessary)pnpm run update:examples
run (only applicable for openapi-typescript)