Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
api-docs: Add 'code' field to create user email already exists.
Lauryn Menardcb921300cebc
diff --git a/zerver/openapi/zulip.yaml b/zerver/openapi/zulip.yamlindex 23926387661..a55b23d04af 100644--- a/zerver/openapi/zulip.yaml+++ b/zerver/openapi/zulip.yaml@@ -7773,9 +7773,10 @@ paths:application/json:schema:allOf:- - $ref: "#/components/schemas/JsonError"+ - $ref: "#/components/schemas/CodedError"- example:{+ "code": "BAD_REQUEST","msg": "Email '[email protected]' already in use","result": "error",}