fix: use reference object for post summary v3 api call

This commit is contained in:
Julian Lam
2024-04-26 14:11:36 -04:00
parent 88a5dfb7b7
commit 2a58d0996d

View File

@@ -31,40 +31,4 @@ get:
status: status:
$ref: ../../../components/schemas/Status.yaml#/Status $ref: ../../../components/schemas/Status.yaml#/Status
response: response:
type: object $ref: ../../../components/schemas/PostObject.yaml#/PostObject
properties:
pid:
type: number
tid:
type: number
description: A topic identifier
content:
type: string
uid:
type: number
description: A user identifier
timestamp:
type: number
deleted:
type: number
upvotes:
type: number
downvotes:
type: number
replies:
type: number
votes:
type: number
timestampISO:
type: string
user:
type: object
additionalProperties: {}
topic:
type: object
additionalProperties: {}
category:
type: object
additionalProperties: {}
isMainPost:
type: boolean