fix: spec

v1.18.x
Julian Lam 4 years ago
parent 1257aa981e
commit 1949d20a87

@ -57,6 +57,14 @@ TopicObject:
description: An ISO 8601 formatted date string (complementing `lastposttime`) description: An ISO 8601 formatted date string (complementing `lastposttime`)
votes: votes:
type: number type: number
thumbs:
type: array
items:
type: object
properties:
url:
type: string
description: Relative path to the topic thumbnail
category: category:
type: object type: object
properties: properties:

@ -46,6 +46,14 @@ get:
type: array type: array
items: items:
$ref: ../../components/schemas/TagObject.yaml#/TagObject $ref: ../../components/schemas/TagObject.yaml#/TagObject
thumbs:
type: array
items:
type: object
properties:
url:
type: string
description: Relative path to the topic thumbnail
posts: posts:
type: array type: array
items: items:

@ -35,6 +35,14 @@ get:
nullable: true nullable: true
titleRaw: titleRaw:
type: string type: string
thumbs:
type: array
items:
type: object
properties:
url:
type: string
description: Relative path to the topic thumbnail
category: category:
type: object type: object
properties: properties:

Loading…
Cancel
Save