mirror of
https://github.com/zulip/zulip.git
synced 2025-11-13 18:36:36 +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.
14 KiB
14 KiB