Skip to content

[2.0] chore: annotational value examples schall be schema-compliant #1094

Description

@jkowalleck

our tests currently check that all default (and enum) values are schema-compliant. done in the tests.

missing: check examples

the check runs with a best-effort implementation, rather an actual schema checker.
this shall be changed:

  • use an actual fully-fledged schema checker for these values
  • also check examples

unclear: where to put this.

  • maybe in the linter?
  • maybe in the keep it in the tests?

Activity

  1. added this to the 2.0 milestone on Sep 10, 2026
  2. self-assigned this
    on Sep 10, 2026
  3. jkowalleck commented on Oct 5, 2026

    @jkowalleck
    MemberAuthor

    implementation detail: use AJV to validate the example based on the sub-schema

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions