Skip to content

Node.js based forum software built for the modern web

fix: openapi spec for v3 posts get

Julian Lam4b86b3788964
diff --git a/public/openapi/write/posts/pid.yaml b/public/openapi/write/posts/pid.yaml
index 593a7acd01..45dba85c74 100644
--- a/public/openapi/write/posts/pid.yaml
+++ b/public/openapi/write/posts/pid.yaml
@@ -64,6 +64,11 @@ get:
type: boolean
downvoted:
type: boolean
+ attachments:
+ type: array
+ items:
+ type: string
+ description: A sha256 hash of the attachment (tied to the corresponding entry in the database)
put:
tags:
- posts