Skip to content

Commit

Permalink
fix: use reference object for post summary v3 api call
Browse files Browse the repository at this point in the history
  • Loading branch information
julianlam committed Apr 26, 2024
1 parent 88a5dfb commit 2a58d09
Showing 1 changed file with 1 addition and 37 deletions.
38 changes: 1 addition & 37 deletions public/openapi/write/posts/pid/summary.yaml
Expand Up @@ -31,40 +31,4 @@ get:
status:
$ref: ../../../components/schemas/Status.yaml#/Status
response:
type: object
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
$ref: ../../../components/schemas/PostObject.yaml#/PostObject

0 comments on commit 2a58d09

Please sign in to comment.