api-docs: Add 'code' field to InvalidApiKeyError response example.

This commit is contained in:
Lauryn Menard 2023-09-01 14:15:27 +02:00 committed by Tim Abbott
parent ad3bed2086
commit 68fcd0a299

View File

@ -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