mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-12-21 07:50:37 +01:00
fix: spec
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user