fix: spec

This commit is contained in:
Julian Lam
2020-12-02 17:22:57 -05:00
parent 1257aa981e
commit 1949d20a87
3 changed files with 24 additions and 0 deletions

View File

@@ -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:

View File

@@ -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:

View File

@@ -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: