Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

api_docs: Fix the example JSON error response for 'POST /typing'.

Prakhar Pratyush6ae7ed580e46
diff --git a/zerver/openapi/zulip.yaml b/zerver/openapi/zulip.yaml
index eb0bc48ddff..ea347180b73 100644
--- a/zerver/openapi/zulip.yaml
+++ b/zerver/openapi/zulip.yaml
@@ -18251,11 +18251,12 @@ paths:
- example:
{
"code": "BAD_REQUEST",
- "msg": "Cannot send to multiple streams",
+ "msg": "Missing stream_id",
"result": "error",
}
description: |
- An example JSON error response for when user sends to multiple streams:
+ An example JSON error response when the user composes a stream message
+ and `stream_id` is not specified:
/user_groups/create:
post:
operationId: create-user-group