Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

Open
luxass wants to merge7 commits intoopenapi-ts:main
base:main
Choose a base branch
Loading
fromluxass:support-custom-path-serializer

Conversation

luxass
Copy link

@luxassluxass commentedJun 28, 2025
edited
Loading

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

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

- Introduced `pathSerializer` to `ClientOptions` for enhanced path handling.- Updated `createClient` function to utilize `pathSerializer` from options.- Modified `createFinalURL` to apply the provided `pathSerializer`.
@netlifyNetlify
Copy link

netlifybot commentedJun 28, 2025
edited
Loading

👷 Deploy request foropenapi-ts pending review.

Visit the deploys page to approve it

NameLink
🔨 Latest commita187a7e

@changeset-botchangeset-bot
Copy link

changeset-botbot commentedJun 28, 2025
edited
Loading

🦋 Changeset detected

Latest commit:3ff91ad

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

This PR includes changesets to release 3 packages
NameType
openapi-fetchMinor
openapi-react-queryMajor
swr-openapiMajor

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

@luxassluxass marked this pull request as ready for reviewJune 28, 2025 07:01
@luxassluxass requested a review froma team as acode ownerJune 28, 2025 07:01
@luxassluxass requested a review fromdrwpowJune 28, 2025 07:01
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@drwpowdrwpowAwaiting requested review from drwpowdrwpow is a code owner automatically assigned from openapi-ts/maintainers

At least 1 approving review is required to merge this pull request.

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Allow for custom types in path params serialization (and maybe other places serialization too)
1 participant
@luxass

[8]ページ先頭

©2009-2025 Movatter.jp