Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
api-docs: Add warning formatting to important description notes.
Lauryn Menardbeb09cdf3809
diff --git a/zerver/openapi/zulip.yaml b/zerver/openapi/zulip.yamlindex 6de586388c5..09613caff22 100644--- a/zerver/openapi/zulip.yaml+++ b/zerver/openapi/zulip.yaml@@ -113,9 +113,11 @@ paths:implement analogues of the one-click login process available for Zulipdevelopment servers on the web).- **Note:** This endpoint is only available on Zulip development- servers; for obvious security reasons it will always return an error- in a Zulip production server.+ !!! warn ""++ **Note:** This endpoint is only available on Zulip development+ servers; for obvious security reasons it will always return an error+ in a Zulip production server.`POST {{ api_url }}/v1/dev_fetch_api_key`parameters:@@ -162,11 +164,13 @@ paths:- queue_id- last_event_idx-parameter-description: |- **Note**: The parameters documented above are optional in the sense that- even if you haven't registered a queue by explicitly requesting the- `{{ api_url}}/v1/register` endpoint, you could pass the parameters for- [the `{{ api_url}}/v1/register` endpoint](/api/register-queue) to this- endpoint and a queue would be registered in the absence of a `queue_id`.+ !!! warn ""++ **Note**: The parameters documented above are optional in the sense that+ even if you haven't registered a queue by explicitly requesting the+ `{{ api_url}}/v1/register` endpoint, you could pass the parameters for+ [the `{{ api_url}}/v1/register` endpoint](/api/register-queue) to this+ endpoint and a queue would be registered in the absence of a `queue_id`.x-python-examples-extra-imports: ["sys"]parameters:- $ref: "#/components/parameters/QueueId"