Skip to content

Commit

Permalink
Edited the post schema for isAnonymous3
Browse files Browse the repository at this point in the history
  • Loading branch information
Hakaabi committed Oct 14, 2024
1 parent a74762a commit 4add8c2
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions public/openapi/components/schemas/PostObject.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 4add8c2

Please sign in to comment.