From a74762a467170dba3632704131392e7c5c16fc2b Mon Sep 17 00:00:00 2001 From: Hakaabi Date: Mon, 14 Oct 2024 13:04:35 +0300 Subject: [PATCH] Edited the post schema for isAnonymous2 --- public/openapi/components/schemas/PostObject.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/public/openapi/components/schemas/PostObject.yaml b/public/openapi/components/schemas/PostObject.yaml index 4653a5959f..19d32a6dbc 100644 --- a/public/openapi/components/schemas/PostObject.yaml +++ b/public/openapi/components/schemas/PostObject.yaml @@ -58,9 +58,6 @@ PostObject: `icon:text` for the user's auto-generated icon example: "#f44336" - isAnonymous: - type: boolean - description: Indicates whether the user posted anonymously topic: type: object properties: @@ -108,6 +105,9 @@ PostObject: type: array items: $ref: ../../components/schemas/TagObject.yaml#/TagObject + isAnonymous: + type: boolean + description: Indicates whether the user posted anonymously required: - uid - tid