Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork552
openapi-fetch:Request
parameter in client methods was ignored#2332
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
netlifybot commentedMay 25, 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 commentedMay 25, 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:771b03f 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
Small bag is fixed. Before these changes
Request
parameter in client methods was ignored.Also, it turned out that
Request
parameter was not added inRequestOptions
, so I added the corresponding declaration.Also, it turned out that
Request
parameter was not added in API docs, so I tried to add it there.How to Review
I provided a unit test to demonstrate the problem, you can run it with and without my fix and check the results.
Checklist
docs/
updated (if necessary)pnpm run update:examples
run (only applicable for openapi-typescript)