api-docs: Use default response example description for create-drafts.

This commit is contained in:
Lauryn Menard 2022-11-07 20:27:24 +01:00 committed by Tim Abbott
parent 9ce484e267
commit 6f44681354
1 changed files with 1 additions and 6 deletions

View File

@ -4824,13 +4824,8 @@ paths:
schema:
allOf:
- $ref: "#/components/schemas/JsonSuccessBase"
- $ref: "#/components/schemas/SuccessDescription"
- additionalProperties: false
description: |
When all of the drafts in the request are valid, this endpoint will return
an array of the IDs for the drafts that were just created in the same
order as they were requested. If any of the drafts failed the validation
step, then none of the drafts will be created and we would not get this
status code. The typical JSON response in such a case is:
properties:
result: {}
msg: {}