Skip to content

Node.js based forum software built for the modern web

Modify delete post diff response format (#13761)

Konrad Moskal2e00c0ff428f
diff --git a/public/openapi/write/posts/pid/diffs/timestamp.yaml b/public/openapi/write/posts/pid/diffs/timestamp.yaml
index 15d942fc26..02d4219d9c 100644
--- a/public/openapi/write/posts/pid/diffs/timestamp.yaml
+++ b/public/openapi/write/posts/pid/diffs/timestamp.yaml
@@ -19,7 +19,9 @@ delete:
description: a valid UNIX timestamp
example: 1611850000000
responses:
- '200':
+ "200":
description: Post diff successfully deleted
content:
- $ref: ../diffs.yaml#/get/responses/200/content
\ No newline at end of file
+ application/json:
+ schema:
+ $ref: ../diffs.yaml#/get/responses/200/content