From 3396e2f7ed1a19add929872b6a41cc26afadd136 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 | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/api.planx.uk/modules/misc/docs.yaml b/api.planx.uk/modules/misc/docs.yaml index 8c1100be38..3d28bd523d 100644 --- a/api.planx.uk/modules/misc/docs.yaml +++ b/api.planx.uk/modules/misc/docs.yaml @@ -60,10 +60,19 @@ paths: items: type: object properties: - teamId: - type: integer - format: int32 - example: 123 + team: + 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"]