Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
api-docs: Add 'code' field to emoji does not exist error.
Lauryn Menardd3e66b4f4fe8
diff --git a/zerver/openapi/zulip.yaml b/zerver/openapi/zulip.yamlindex 1f5284142ac..a573cf44c9e 100644--- a/zerver/openapi/zulip.yaml+++ b/zerver/openapi/zulip.yaml@@ -9343,15 +9343,15 @@ paths:application/json:schema:allOf:- - $ref: "#/components/schemas/JsonError"+ - $ref: "#/components/schemas/CodedError"- description: |- JSON response for when no emoji exists with the provided name.+ An example JSON response for when no emoji exists with the provided name:example:{+ "code": "BAD_REQUEST","result": "error","msg": "Emoji 'green_tick' does not exist",}-/realm/emoji:get:operationId: get-custom-emoji