openapi-typescript
openapi-typescript copied to clipboard
feat(openapi-fetch): allow usage of custom Request class
Changes
- allows to specify a custom
Requestclass- for more information around the motivation see #1563
- build on the foundation of #1593
How to Review
- I removed the pre-existing
CustomRequestclass and inlined the business logic from the constructor - added a unit test
Checklist
- [ ] Unit tests updated
- [ ]
docs/updated (if necessary) - [ ]
pnpm run update:examplesrun (only applicable for openapi-typescript)
🦋 Changeset detected
Latest commit: 92a069e928a398634391daf71e738db3116a54a4
The changes in this PR will be included in the next version bump.
This PR includes changesets to release 2 packages
| Name | Type |
|---|---|
| openapi-fetch | Patch |
| openapi-react-query | Patch |
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