mirror of
https://github.com/zulip/zulip.git
synced 2025-11-10 08:56:10 +00:00
We use `templates/zerver/api/api-doc-template.md` as a base template for the documented API endpoints in `zerver/openapi/zulip.yaml`. Previously, if this template was called as an endpoint, then it would fail an assertion check and send server error. Now we check for specifically for that potential path and return a 404 error response for no existing article. Fixes #21876.
30 KiB
30 KiB