Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the deprecated field to OpenAPI definitions and JSON Schemas #1940

Merged
merged 3 commits into from
Oct 1, 2024

Conversation

zecakeh
Copy link
Contributor

@zecakeh zecakeh commented Sep 4, 2024

I did a quick search of the "deprecated" word in the data folder and set the field where the description says that a property is deprecated.

This does not change the rendering of the spec because the descriptions already talk about the deprecation,
but it can be used by tools that rely on the OpenAPI definitions and JSON Schemas.

Pull Request Checklist

Preview: https://pr1940--matrix-spec-previews.netlify.app

I did a quick search of the "deprecated" word in the data folder and set the
field where the description says that a property is deprecated.

This does not change the rendering of the spec because the
descriptions already talk about the deprecation,
but it can be used by tools that rely on the OpenAPI definitions and JSON Schemas.

Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
@zecakeh zecakeh requested a review from a team as a code owner September 4, 2024 12:19
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
@zecakeh zecakeh changed the title Add the deprecated field to OpenAPI definitions and JSON Schemas Add the deprecated field to OpenAPI definitions and JSON Schemas Sep 5, 2024
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
Copy link
Member

@richvdh richvdh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@richvdh richvdh merged commit 27b4cdc into matrix-org:main Oct 1, 2024
12 checks passed
@zecakeh zecakeh deleted the deprecated branch October 14, 2024 21:33
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