openapi: Move stray get messages description into OpenAPI.

This commit is contained in:
Suyash Vardhan Mathur 2021-06-22 00:34:31 +05:30 committed by Tim Abbott
parent 570f3d350c
commit 3f104c378b
2 changed files with 5 additions and 5 deletions

View File

@ -25,10 +25,6 @@
## Response
When a request is successful, this endpoint returns a dictionary
containing the following (in addition to the `msg` and `result` keys
present in all Zulip API responses).
{generate_return_values_table|zulip.yaml|/messages:get}
{generate_response_description(/messages:get)}

View File

@ -4223,8 +4223,12 @@ paths:
schema:
allOf:
- $ref: "#/components/schemas/JsonSuccessBase"
- $ref: "#/components/schemas/SuccessDescription"
- additionalProperties: false
description: |
When a request is successful, this endpoint returns a dictionary
containing the following (in addition to the `msg` and `result` keys
present in all Zulip API responses).
A typical successful JSON response may look like
properties:
result: {}
msg: {}