Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

feat: add a migration layer for @apidevtools/swagger-parser #140

Merged
merged 5 commits into from
Aug 27, 2024

Conversation

hanspagel
Copy link
Member

@hanspagel hanspagel commented Jun 21, 2024

Goal
Making a drop-in replacement for the popular @apidevtools/swagger-parser.

Tasks

  • validate
  • dereference
  • load URLs
  • load files
  • $refs
  • bundle
  • parse
  • resolve
  • options
  • move to a separate package (name TBD @scalar/apidevtools-swagger-parser?)

Copy link

changeset-bot bot commented Jun 21, 2024

⚠️ No Changeset found

Latest commit: 2975266

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

@hanspagel hanspagel changed the title feat: add a simple migration layer feat: add a migration layer for @apidevtools/swagger-parser Jun 21, 2024
@hanspagel hanspagel changed the title feat: add a migration layer for @apidevtools/swagger-parser feat: add a migration layer for @apidevtools/swagger-parser Jun 21, 2024
Copy link

relativeci bot commented Jun 21, 2024

#143 Bundle Size — 75.52KiB (+0.82%).

2975266(current) vs 5706b18 main#142(baseline)

Bundle metrics  Change 2 changes Regression 1 regression
                 Current
#143
     Baseline
#142
Regression  Initial JS 75.52KiB(+0.82%) 74.91KiB
No change  Initial CSS 0B 0B
Change  Cache Invalidation 4.13% 0%
No change  Chunks 45 45
No change  Assets 45 45
No change  Modules 45 45
No change  Duplicate Modules 0 0
No change  Duplicate Code 0% 0%
No change  Packages 0 0
No change  Duplicate Packages 0 0
Bundle size by type  Change 1 change Regression 1 regression
                 Current
#143
     Baseline
#142
Regression  JS 75.52KiB (+0.82%) 74.91KiB

Bundle analysis reportBranch feat/migration-layerProject dashboard


Generated by RelativeCIDocumentationReport issue

Copy link

cloudflare-workers-and-pages bot commented Jun 21, 2024

Deploying openapi-parser with  Cloudflare Pages  Cloudflare Pages

Latest commit: 2975266
Status: ✅  Deploy successful!
Preview URL: https://52349928.openapi-parser.pages.dev
Branch Preview URL: https://feat-migration-layer.openapi-parser.pages.dev

View logs

@hanspagel
Copy link
Member Author

hanspagel commented Aug 27, 2024

It’s not done, but let’s get this in before we move to scalar/scalar. :) It’s not exposed anyway.

Moved the tasks to scalar/scalar#2950.

@hanspagel hanspagel marked this pull request as ready for review August 27, 2024 09:19
@hanspagel hanspagel merged commit 2512b07 into main Aug 27, 2024
7 checks passed
@hanspagel hanspagel deleted the feat/migration-layer branch August 27, 2024 09:20
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant