Skip to content

Conversation

@tokebe
Copy link

@tokebe tokebe commented Jan 8, 2026

Note

This PR depends on an upstream PR #532

Addresses #534

OpenAPI 3.1 is an important step forward, and vastly reduces ambiguities as compared to 3.0, given that there is now a true dependency on JSONSchema, rather than a custom JSONSchema-like set.

This PR brings TRAPI up to OpenAPI 3.1.2, making requisite migration changes, and utilizing some new abilities for QualifierSetConstraint specificity.

tokebe added 3 commits January 8, 2026 15:10
With the upgrade to OAI 3.1, the underlying schema has been synced to
JSONSchema Draft 2020-12, meaning we now have access to
patternProperties. We can use this to better specify the semantic
requirements of QualifierSetConstraint keys.
@tokebe tokebe changed the base branch from master to 2.0 January 8, 2026 20:31
OpenAPI 3.1.2 allows same-level `$ref`s and arbitrary adjacent keywords,
meaning we don't need to use single-entry `oneOf`s to combine a `$ref`
and a `description`
@colleenXu colleenXu self-requested a review January 9, 2026 19:48
@colleenXu colleenXu linked an issue Jan 9, 2026 that may be closed by this pull request
@gprice1129 gprice1129 self-requested a review January 9, 2026 19:59
@tokebe tokebe merged commit 4bdb756 into 2.0 Jan 9, 2026
@colleenXu colleenXu linked an issue Jan 9, 2026 that may be closed by this pull request
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.

Migrate to OpenAPI 3.1 Fix properties on same level as $ref

7 participants