Skip to content

OpenAPI: Remove deprecated TrueExpression and FalseExpression (#18351) - #18431

Open
zhang-arvin wants to merge 1 commit into
apache:mainfrom
zhang-arvin:remove-deprecated-true-false-expression
Open

zhang-arvin wants to merge 1 commit into
apache:mainfrom
zhang-arvin:remove-deprecated-true-false-expression

Conversation

@zhang-arvin

Copy link
Copy Markdown

Fixes #18351

rest-catalog-open-api.yaml still listed TrueExpression and FalseExpression ({"type":"true"} / {"type":"false"}) as deprecated alternatives in Predicate, even though the expressions spec does not include them and the reference implementation rejects them.

  • Remove TrueExpression and FalseExpression from the Predicate oneOf, leaving the bare boolean literal.
  • Remove the two deprecated schema definitions.
  • Regenerate rest-catalog-open-api.py accordingly.

This makes the OpenAPI schema match format/expressions-spec.md and the reference implementation.

This branch has not been deployed

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

OpenAPI: Remove deprecated TrueExpression and FalseExpression

1 participant