Skip to content

Node.js based forum software built for the modern web

test: openapi for thumbs

Barış Soner Uşaklı9e685e657a41
diff --git a/public/openapi/components/schemas/TopicObject.yaml b/public/openapi/components/schemas/TopicObject.yaml
index 64de19aeb8..ad337379f7 100644
--- a/public/openapi/components/schemas/TopicObject.yaml
+++ b/public/openapi/components/schemas/TopicObject.yaml
@@ -265,6 +265,9 @@ TopicObjectSlim:
name:
type: string
description: The topic thumbnail filename
+ path:
+ type: string
+ description: Path to topic thumbnail without upload_url prefix
url:
type: string
description: Relative path to the topic thumbnail
diff --git a/public/openapi/write/topics/tid/thumbs.yaml b/public/openapi/write/topics/tid/thumbs.yaml
index a51858aeb3..075bc29ed2 100644
--- a/public/openapi/write/topics/tid/thumbs.yaml
+++ b/public/openapi/write/topics/tid/thumbs.yaml
@@ -31,6 +31,8 @@ get:
type: string
name:
type: string
+ path:
+ type: string
url:
type: string
description: Path to a topic thumbnail
@@ -155,6 +157,8 @@ delete:
type: string
name:
type: string
+ path:
+ type: string
url:
type: string
description: Path to a topic thumbnail
\ No newline at end of file
diff --git a/public/openapi/write/topics/tid/thumbs/order.yaml b/public/openapi/write/topics/tid/thumbs/order.yaml
index 8e9a12fef1..2fac638a23 100644
--- a/public/openapi/write/topics/tid/thumbs/order.yaml
+++ b/public/openapi/write/topics/tid/thumbs/order.yaml
@@ -38,4 +38,4 @@ put:
$ref: ../../../../components/schemas/Status.yaml#/Status
response:
type: object
- properties: {}
\ No newline at end of file
+ properties: {}