Skip to content

Commit

Permalink
docs: Update Swagger docs for /me endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
DafyddLlyr committed Sep 19, 2023
1 parent 4514faa commit 3396e2f
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions api.planx.uk/modules/misc/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down

0 comments on commit 3396e2f

Please sign in to comment.