mirror of
https://github.com/zulip/zulip.git
synced 2026-07-09 21:21:47 +08:00
api-docs: Add 'code' field to InvalidApiKeyError response example.
This commit is contained in:
parent
ad3bed2086
commit
68fcd0a299
@ -19223,8 +19223,13 @@ components:
|
||||
authorized to subscribe to. Only present if `"authorization_errors_fatal": false`.
|
||||
InvalidApiKeyError:
|
||||
allOf:
|
||||
- $ref: "#/components/schemas/JsonError"
|
||||
- example: {"msg": "Invalid API key", "result": "error"}
|
||||
- $ref: "#/components/schemas/CodedError"
|
||||
- example:
|
||||
{
|
||||
"code": "INVALID_API_KEY",
|
||||
"msg": "Invalid API key",
|
||||
"result": "error",
|
||||
}
|
||||
description: |
|
||||
## Invalid API key
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user