mirror of https://github.com/zulip/zulip.git
docs: Fix formatting in the Swagger YAML file.
This commit is contained in:
parent
687acf89a6
commit
29fa89273e
|
@ -88,29 +88,28 @@ paths:
|
||||||
posterior to the specified `anchor`.
|
posterior to the specified `anchor`.
|
||||||
operationId: zerver.views.messages.get_messages_backend
|
operationId: zerver.views.messages.get_messages_backend
|
||||||
parameters:
|
parameters:
|
||||||
- name: anchor
|
- name: anchor
|
||||||
in: query
|
in: query
|
||||||
description: A message ID.
|
description: A message ID.
|
||||||
required: true
|
required: true
|
||||||
type: integer
|
type: integer
|
||||||
- name: num_before
|
- name: num_before
|
||||||
in: query
|
in: query
|
||||||
description: The number of messages to retrieve before the anchor value.
|
description: The number of messages to retrieve before the anchor value.
|
||||||
required: true
|
required: true
|
||||||
type: integer
|
type: integer
|
||||||
- name: num_after
|
- name: num_after
|
||||||
in: query
|
in: query
|
||||||
description: The number of messages to retrieve after the anchor value.
|
description: The number of messages to retrieve after the anchor value.
|
||||||
required: true
|
required: true
|
||||||
type: integer
|
type: integer
|
||||||
security:
|
security:
|
||||||
- basicAuth: []
|
- basicAuth: []
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
description: Success.
|
description: Success.
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/definitions/MessagesResponse'
|
$ref: '#/definitions/MessagesResponse'
|
||||||
|
|
||||||
post:
|
post:
|
||||||
description: Send a message
|
description: Send a message
|
||||||
operationId: zerver.views.messages.send_message_backend
|
operationId: zerver.views.messages.send_message_backend
|
||||||
|
@ -257,7 +256,6 @@ paths:
|
||||||
your client in your client code. For most applications, one
|
your client in your client code. For most applications, one
|
||||||
is only interested in messages, so one specifies:
|
is only interested in messages, so one specifies:
|
||||||
`event_types=["message"]`
|
`event_types=["message"]`
|
||||||
|
|
||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
- name: apply_markdown
|
- name: apply_markdown
|
||||||
|
@ -367,7 +365,6 @@ paths:
|
||||||
* `twenty_four_hour_time`:
|
* `twenty_four_hour_time`:
|
||||||
|
|
||||||
* `unsubscribed`:
|
* `unsubscribed`:
|
||||||
|
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/definitions/RegisterResponse'
|
$ref: '#/definitions/RegisterResponse'
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue