Fix some inconsistencies in messages api ref

I512bfc97a1c3d4a508daf580d99fefe2a9ae4e13 tries to add response
schema validation for messages interfaces, and there are some
inconsistencies in api ref:
1. delete message success code is 204, not 202
2. id is of the format uuid, which means string, not integer.

Change-Id: I13280bf158f541ed0514930274df8c03a0f81c4c
This commit is contained in:
zhufl
2018-09-18 14:23:00 +08:00
parent 4088690df1
commit edcf82fd58
2 changed files with 3 additions and 3 deletions

View File

@@ -20,7 +20,7 @@ Response codes
.. rest_status_code:: success ../status.yaml
- 202
- 204
.. rest_status_code:: error ../status.yaml

View File

@@ -1363,10 +1363,10 @@ id_7:
type: integer
id_8:
description: |
The ID for the message.
The UUID for the message.
in: body
required: true
type: integer
type: string
image_id:
description: |
The uuid for the new image.