From a178d15ad9b448aa1fc25714d9dae4626b80c607 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dafydd=20Ll=C5=B7r=20Pearson?= Date: Tue, 19 Sep 2023 19:46:07 +0100 Subject: [PATCH] docs: Update Swagger docs for /me endpoint --- api.planx.uk/modules/misc/docs.yaml | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/api.planx.uk/modules/misc/docs.yaml b/api.planx.uk/modules/misc/docs.yaml index 8c1100be38..f13ec0e26f 100644 --- a/api.planx.uk/modules/misc/docs.yaml +++ b/api.planx.uk/modules/misc/docs.yaml @@ -60,10 +60,21 @@ paths: items: type: object properties: - teamId: - type: integer - format: int32 - example: 123 + team: + type: array + items: + type: object + properties: + id: + type: integer + format: int32 + example: 123 + slug: + type: string + example: opensystemslab + name: + type: string + example: Open Systems Lab role: type: string enum: ["teamEditor", "teamViewer"]