mirror of https://github.com/zulip/zulip.git
docs: Fix JsonSuccess and JsonError models.
This commit is contained in:
parent
c7c47fe11d
commit
9f329f6597
|
@ -419,23 +419,23 @@ definitions:
|
|||
- msg
|
||||
- result
|
||||
properties:
|
||||
msg:
|
||||
type: string
|
||||
result:
|
||||
type: string
|
||||
|
||||
JsonSuccess:
|
||||
allOf:
|
||||
- $ref: '#/definitions/JsonResponse'
|
||||
properties:
|
||||
- properties:
|
||||
msg:
|
||||
type: string
|
||||
default: success
|
||||
|
||||
JsonError:
|
||||
allOf:
|
||||
- $ref: '#/definitions/JsonResponse'
|
||||
properties:
|
||||
- properties:
|
||||
msg:
|
||||
type: string
|
||||
default: error
|
||||
|
||||
# /messages
|
||||
|
|
Loading…
Reference in New Issue