-
-
Notifications
You must be signed in to change notification settings - Fork 71
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(swagger-zodios): export endpoints too #749
chore(swagger-zodios): export endpoints too #749
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 54c3a7e:
|
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #749 +/- ##
==========================================
+ Coverage 72.15% 75.51% +3.35%
==========================================
Files 126 127 +1
Lines 12297 12393 +96
Branches 1229 1295 +66
==========================================
+ Hits 8873 9358 +485
+ Misses 3415 3031 -384
+ Partials 9 4 -5 ☔ View full report in Codecov by Sentry. |
08aa937
to
54c3a7e
Compare
@stijnvanhulle Could you please release this PR? |
Sometimes it is necessary to use a dynamic baseUrl in a single build.
In this case, it is necessary to create a
Zodios
instance externally, as shown in the example code below, and therefore it is necessary to export the necessary endpoints.I also added getAPI, which allows you to create an API instance without endpoints import.