From 4add8c277ac69eb7ec9c01b778cf026111cd14c5 Mon Sep 17 00:00:00 2001 From: Hakaabi Date: Mon, 14 Oct 2024 13:14:55 +0300 Subject: [PATCH] Edited the post schema for isAnonymous3 --- public/openapi/components/schemas/PostObject.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/public/openapi/components/schemas/PostObject.yaml b/public/openapi/components/schemas/PostObject.yaml index 19d32a6dbc..5a00292ac0 100644 --- a/public/openapi/components/schemas/PostObject.yaml +++ b/public/openapi/components/schemas/PostObject.yaml @@ -41,6 +41,9 @@ PostObject: type: string description: An URL-safe variant of the username (i.e. lower-cased, spaces removed, etc.) + isAnonymous: + type: boolean + description: Indicates whether the user posted anonymously picture: type: string nullable: true @@ -105,15 +108,13 @@ PostObject: type: array items: $ref: ../../components/schemas/TagObject.yaml#/TagObject - isAnonymous: - type: boolean - description: Indicates whether the user posted anonymously required: - uid - tid - cid - title - slug + - isAnonymous category: type: object properties: