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 a178d15
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 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,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"]
Expand Down

0 comments on commit a178d15

Please sign in to comment.