mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 06:53:25 +00:00
Previously, we had checked that deprecated parameters and return values had been marked as `deprecated: true` in the OpenAPI documentation and had a description with a deprecated note. Here we extend that check at the top level to deprecated endpoints. The backend test that catches a failed assertion for this check is `test_api_doc_endpoints` in zerver/tests/test_docs.py as that test checks for a success response all pages linked the sidebar of the API documentation.
20 KiB
20 KiB