Skip to content

Commit a9bc3be

Browse files
committed
admin endpoint swagger documentation added
1 parent 9d91d72 commit a9bc3be

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

web/src/main/resources/static/open-api.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,27 @@ paths:
5959
application/json:
6060
schema:
6161
$ref: '#/components/schemas/DetailedTeam'
62+
/api/admin/team:
63+
put:
64+
tags:
65+
- team
66+
summary: Update all information for a team
67+
requestBody:
68+
content:
69+
application/json:
70+
schema:
71+
oneOf:
72+
- type: array
73+
items:
74+
$ref: '#/components/schemas/DetailedTeam'
75+
- $ref: '#/components/schemas/DetailedTeam'
76+
responses:
77+
200:
78+
description: "Updated team"
79+
content:
80+
application/json:
81+
schema:
82+
$ref: '#/components/schemas/DetailedTeam'
6283
/api/skill/timer/start:
6384
post:
6485
tags:

0 commit comments

Comments
 (0)