scalar / openapi-parser

Modern OpenAPI parser written in TypeScript
MIT License
34 stars 1 forks source link

feat: limit number of http requests #98

Closed hanspagel closed 3 months ago

hanspagel commented 3 months ago

With this PR we’re dealing better with HTTP errors and limit the number of requests to 20 (configurable).

Plugins became functions, so it’s easier to pass a configuration.

changeset-bot[bot] commented 3 months ago

⚠️ No Changeset found

Latest commit: 594a1c851245e06561104150f8edeff960db551b

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

relativeci[bot] commented 3 months ago

#51 Bundle Size — 478.24KiB (+0.11%).

594a1c8(current) vs d5c40b4 main#49(baseline)

Bundle metrics  Change 2 changes Regression 1 regression
                 Current
#51
     Baseline
#49
Regression  Initial JS 478.24KiB(+0.11%) 477.72KiB
No change  Initial CSS 0B 0B
Change  Cache Invalidation 100% 0%
No change  Chunks 1 1
No change  Assets 1 1
No change  Modules 306 306
No change  Duplicate Modules 0 0
No change  Duplicate Code 0% 0%
No change  Packages 10 10
No change  Duplicate Packages 0 0

Bundle size by type  Change 1 change Regression 1 regression
|            |       Current
[#51](https://app.relative-ci.com/projects/hXQ54UQKluDUZAKvpt9b/jobs/51-iGFJy7CWeaX7OuEaTIF7?utm_source=github&utm_medium=pr-report "View bundle analysis report") |      Baseline
[#49](https://app.relative-ci.com/projects/hXQ54UQKluDUZAKvpt9b/jobs/49-MPturV4bYvZOUXsmHLoS?utm_source=github&utm_medium=pr-report "View baseline bundle analysis report") | |:--|--:|--:| | Regression  [JS](https://app.relative-ci.com/projects/hXQ54UQKluDUZAKvpt9b/jobs/51-iGFJy7CWeaX7OuEaTIF7/assets?ba=%7B%22filters%22%3A%22ft.CSS-0_ft.JS-1_ft.IMG-0_ft.MEDIA-0_ft.FONT-0_ft.HTML-0_ft.OTHER-0%22%7D "View JS assets") | `478.24KiB` (`+0.11%`) | `477.72KiB` |

Bundle analysis reportBranch chore/limit-reference-loadingProject dashboard