openapi-typescript icon indicating copy to clipboard operation
openapi-typescript copied to clipboard

feat(openapi-fetch): allow usage of custom Request class

Open tobiasdcl opened this issue 1 year ago • 1 comments

Changes

  • allows to specify a custom Request class
    • for more information around the motivation see #1563
    • build on the foundation of #1593

How to Review

  • I removed the pre-existing CustomRequest class and inlined the business logic from the constructor
  • added a unit test

Checklist

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

tobiasdcl avatar Sep 10 '24 21:09 tobiasdcl

🦋 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

changeset-bot[bot] avatar Sep 10 '24 21:09 changeset-bot[bot]