matrix-org / matrix-spec

The Matrix protocol specification
Apache License 2.0
188 stars 94 forks source link

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

Closed zecakeh closed 12 hours ago

zecakeh commented 3 weeks ago

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