Skip to content

feat(schema): support multiple API versions from a single schema file#4949

Draft
AustinAbro321 wants to merge 34 commits into
mainfrom
multiple-api-version-schema
Draft

feat(schema): support multiple API versions from a single schema file#4949
AustinAbro321 wants to merge 34 commits into
mainfrom
multiple-api-version-schema

Conversation

@AustinAbro321
Copy link
Copy Markdown
Member

Description

This creates a new schema at the root level of the repository that supports multiple versions. It ends up being very long since it can't define definitions at the top otherwise they would clash.

This is useful since this is the file that we encourage users to point to in our docs so this will automatically work with either schema version

Related Issue

Relates to #3433

Checklist before merging

AustinAbro321 and others added 23 commits March 4, 2026 12:59
Signed-off-by: Austin Abro <austinabro321@gmail.com>
Signed-off-by: Austin Abro <austinabro321@gmail.com>
Signed-off-by: Austin Abro <austinabro321@gmail.com>
Signed-off-by: Austin Abro <austinabro321@gmail.com>
Signed-off-by: Austin Abro <austinabro321@gmail.com>
Signed-off-by: Austin Abro <austinabro321@gmail.com>
Signed-off-by: Austin Abro <austinabro321@gmail.com>
Signed-off-by: Austin Abro <austinabro321@gmail.com>
Signed-off-by: Austin Abro <austinabro321@gmail.com>
Signed-off-by: Austin Abro <austinabro321@gmail.com>
Signed-off-by: Austin Abro <austinabro321@gmail.com>
Signed-off-by: Austin Abro <austinabro321@gmail.com>
Signed-off-by: Austin Abro <austinabro321@gmail.com>
Signed-off-by: Austin Abro <austinabro321@gmail.com>
Signed-off-by: Austin Abro <austinabro321@gmail.com>
Signed-off-by: Austin Abro <austinabro321@gmail.com>
Signed-off-by: Austin Abro <austinabro321@gmail.com>
Signed-off-by: Austin Abro <austinabro321@gmail.com>
@netlify
Copy link
Copy Markdown

netlify Bot commented May 29, 2026

Deploy Preview for zarf-docs canceled.

Name Link
🔨 Latest commit 5dcf611
🔍 Latest deploy log https://app.netlify.com/projects/zarf-docs/deploys/6a21aa26df25c30008c147bc

@codecov
Copy link
Copy Markdown

codecov Bot commented May 29, 2026

Codecov Report

❌ Patch coverage is 46.93878% with 26 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/api/v1beta1/component.go 42.85% 12 Missing ⚠️
src/api/v1beta1/package.go 54.54% 10 Missing ⚠️
src/api/v1alpha1/package.go 0.00% 4 Missing ⚠️
Files with missing lines Coverage Δ
src/pkg/schema/schema.go 100.00% <100.00%> (ø)
src/api/v1alpha1/package.go 85.00% <0.00%> (-9.45%) ⬇️
src/api/v1beta1/package.go 54.54% <54.54%> (ø)
src/api/v1beta1/component.go 42.85% <42.85%> (ø)

... and 9 files with indirect coverage changes

🚀 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.

Signed-off-by: Austin Abro <austinabro321@gmail.com>
Signed-off-by: Austin Abro <austinabro321@gmail.com>
Signed-off-by: Austin Abro <austinabro321@gmail.com>
Signed-off-by: Austin Abro <austinabro321@gmail.com>
AustinAbro321 and others added 5 commits June 2, 2026 16:24
Signed-off-by: Austin Abro <austinabro321@gmail.com>
Signed-off-by: Austin Abro <austinabro321@gmail.com>
Signed-off-by: Austin Abro <austinabro321@gmail.com>
Signed-off-by: Austin Abro <austinabro321@gmail.com>
@AustinAbro321 AustinAbro321 changed the title feat(schema): support multiple API versions from a single file feat(schema): support multiple API versions from a single schema file Jun 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

1 participant