Skip to content

Conversation

@s3lph
Copy link
Contributor

@s3lph s3lph commented Nov 7, 2025

At the moment, the validator merges all version indications from both api and api_compatibility into one, stripping of the leading 0. from api. This leads to a few confusing situations where thinks like the following are considered valid or at least influence which schema versions an endpoint is (erroneously) validated against, possibly showing up twice in the "validated versions" list:

{"api": "0.13", "api_compatibility": ["13", "14", "15"], ...}
{"api": "0.15", "api_compatibility": ["15"], ...}
{"api": "15", "api_compatibility": ["15"], ...}

This PR attempts to resolve this issue and make results a lot clearer by:

  • Requiring versions 0.12 and 0.13 to be only indicated in the api field.
  • Requiring versions 14 and later to be only indicated in the api_compatibility field.
  • Failing validation if support for unknown schema versions is indicated, including wrong use of major vs minor schema version such as 13 or 0.14.

@s3lph s3lph requested a review from a team November 7, 2025 00:11
@s3lph s3lph self-assigned this Nov 7, 2025
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.

2 participants