diff --git a/public/openapi/components/schemas/TopicObject.yaml b/public/openapi/components/schemas/TopicObject.yaml index 2e5085158f..45114a696b 100644 --- a/public/openapi/components/schemas/TopicObject.yaml +++ b/public/openapi/components/schemas/TopicObject.yaml @@ -57,6 +57,14 @@ TopicObject: description: An ISO 8601 formatted date string (complementing `lastposttime`) votes: type: number + thumbs: + type: array + items: + type: object + properties: + url: + type: string + description: Relative path to the topic thumbnail category: type: object properties: diff --git a/public/openapi/read/topic/topic_id.yaml b/public/openapi/read/topic/topic_id.yaml index 67f7ef3096..2dab408fa6 100644 --- a/public/openapi/read/topic/topic_id.yaml +++ b/public/openapi/read/topic/topic_id.yaml @@ -46,6 +46,14 @@ get: type: array items: $ref: ../../components/schemas/TagObject.yaml#/TagObject + thumbs: + type: array + items: + type: object + properties: + url: + type: string + description: Relative path to the topic thumbnail posts: type: array items: diff --git a/public/openapi/read/unread.yaml b/public/openapi/read/unread.yaml index e2b48faee9..8fa3be8c9c 100644 --- a/public/openapi/read/unread.yaml +++ b/public/openapi/read/unread.yaml @@ -35,6 +35,14 @@ get: nullable: true titleRaw: type: string + thumbs: + type: array + items: + type: object + properties: + url: + type: string + description: Relative path to the topic thumbnail category: type: object properties: