这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@idbenami
Copy link
Contributor

@idbenami idbenami commented Aug 2, 2025

  • enhance createClient to accept AxiosStatic or AxiosInstance
  • updated docs

closes #2374

@bolt-new-by-stackblitz
Copy link

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@changeset-bot
Copy link

changeset-bot bot commented Aug 2, 2025

⚠️ No Changeset found

Latest commit: ff13a1b

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@vercel
Copy link

vercel bot commented Aug 2, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
hey-api-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 2, 2025 5:00pm

@mrlubos
Copy link
Member

mrlubos commented Aug 2, 2025

@idbenami I think you just need to rebuild the package pnpm openapi-ts build and then update the snapshots pnpm openapi-ts-tests test:update and it should pass

@codecov
Copy link

codecov bot commented Aug 2, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 22.54%. Comparing base (073d56e) to head (3a23362).
⚠️ Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2382      +/-   ##
==========================================
+ Coverage   22.53%   22.54%   +0.01%     
==========================================
  Files         324      324              
  Lines       31840    31845       +5     
  Branches     1232     1234       +2     
==========================================
+ Hits         7174     7179       +5     
  Misses      24657    24657              
  Partials        9        9              
Flag Coverage Δ
unittests 22.54% <100.00%> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@pkg-pr-new
Copy link

pkg-pr-new bot commented Aug 2, 2025

Open in StackBlitz

npm i https://pkg.pr.new/hey-api/openapi-ts/@hey-api/nuxt@2382
npm i https://pkg.pr.new/hey-api/openapi-ts/@hey-api/openapi-ts@2382
npm i https://pkg.pr.new/hey-api/openapi-ts/@hey-api/vite-plugin@2382

commit: 3a23362

@idbenami
Copy link
Contributor Author

idbenami commented Aug 2, 2025

@mrlubos regarding changeset, should I do something about it?

Copy link
Member

@mrlubos mrlubos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work! I added a changeset for you, but you'll still get the credit

@mrlubos mrlubos merged commit ed7500c into hey-api:main Aug 3, 2025
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Pass AxiosInstance to createClient instead of AxiosStatic

2 participants