Skip to content

Node.js based forum software built for the modern web

fix: add missing file for openapi tests

Julian Lame6b20ed32903
diff --git a/public/openapi/read/user/userslug/shares.yaml b/public/openapi/read/user/userslug/shares.yaml
new file mode 100644
index 0000000000..93555b240d
--- /dev/null
+++ b/public/openapi/read/user/userslug/shares.yaml
@@ -0,0 +1,47 @@
+get:
+ tags:
+ - users
+ summary: Get a user's shared topics
+ parameters:
+ - name: userslug
+ in: path
+ required: true
+ schema:
+ type: string
+ example: admin
+ responses:
+ "200":
+ description: ""
+ content:
+ application/json:
+ schema:
+ allOf:
+ - $ref: ../../../components/schemas/UserObject.yaml#/UserObjectFull
+ - type: object
+ properties:
+ topics:
+ type: array
+ items:
+ $ref: ../../../components/schemas/TopicObject.yaml#/TopicObject
+ nextStart:
+ type: number
+ noItemsFoundKey:
+ type: string
+ title:
+ type: string
+ showSort:
+ type: boolean
+ sortOptions:
+ type: array
+ items:
+ type: object
+ properties:
+ url:
+ type: string
+ name:
+ type: string
+ selected:
+ 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