From e6b20ed32903f8e6df609f573b3c2e36ed9f19db Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Tue, 7 Jan 2025 14:11:23 -0500 Subject: [PATCH] fix: add missing file for openapi tests --- public/openapi/read/user/userslug/shares.yaml | 47 +++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 public/openapi/read/user/userslug/shares.yaml 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