From 4b86b3788964e66d29d919e8f2019501df7e1394 Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Wed, 19 Jun 2024 18:08:49 -0400 Subject: [PATCH] fix: openapi spec for v3 posts get --- public/openapi/write/posts/pid.yaml | 5 +++++ 1 file changed, 5 insertions(+) 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