From 65cb01a252a58f5faa1f83a80a3899282d4ce0bd Mon Sep 17 00:00:00 2001 From: Rigel Kent Date: Thu, 13 May 2021 23:37:35 +0200 Subject: [PATCH] modify response for adding abuse in openapi spec closes #4093 --- support/doc/api/openapi.yaml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/support/doc/api/openapi.yaml b/support/doc/api/openapi.yaml index 74d5c608c..3f9fcd08b 100644 --- a/support/doc/api/openapi.yaml +++ b/support/doc/api/openapi.yaml @@ -2236,8 +2236,18 @@ paths: required: - reason responses: - '204': + '200': description: successful operation + content: + application/json: + schema: + type: object + properties: + abuse: + type: object + properties: + id: + $ref: '#/components/schemas/id' '400': description: incorrect request parameters '/abuses/{abuseId}': -- 2.41.0