docs: Fix inheritance in /messages/{message_id}.

This commit is contained in:
Yago González 2017-05-23 23:59:58 -07:00 committed by Tim Abbott
parent 55664b1a93
commit bd5fba4a64
1 changed files with 11 additions and 12 deletions

View File

@ -414,18 +414,17 @@ paths:
'400':
description: Bad request.
schema:
$ref: '#/definitions/JsonError'
properties:
msg:
type: string
enum:
- Your organization has turned off message editing
- You don't have permission to edit this message
- The time limit for editing this message has past
- Nothing to change
- Topic can't be empty
result:
type: string
allOf:
- $ref: '#/definitions/JsonError'
- properties:
msg:
type: string
enum:
- Your organization has turned off message editing
- You don't have permission to edit this message
- The time limit for editing this message has past
- Nothing to change
- Topic can't be empty
/streams:
get: