Skip to content

Node.js based forum software built for the modern web

docs: fix openapi spec for new property in post queue route

Julian Lamddd032483280
diff --git a/public/openapi/read/post-queue.yaml b/public/openapi/read/post-queue.yaml
index 35bace62d0..0ecb95500c 100644
--- a/public/openapi/read/post-queue.yaml
+++ b/public/openapi/read/post-queue.yaml
@@ -170,6 +170,12 @@ get:
type: number
singlePost:
type: boolean
+ privileges:
+ type: object
+ properties: {}
+ additionalProperties:
+ description: "A list of global and admin privileges, and whether the calling user has (or has inherited) them"
+ type: boolean
- $ref: ../components/schemas/Pagination.yaml#/Pagination
- $ref: ../components/schemas/Breadcrumbs.yaml#/Breadcrumbs
- $ref: ../components/schemas/CommonProps.yaml#/CommonProps
\ No newline at end of file