Skip to content

Commit 498106e

Browse files
committed
Update OpenAPI spec
1 parent 35dc814 commit 498106e

2 files changed

Lines changed: 14 additions & 6 deletions

File tree

openapi/admin.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
openapi: 3.1.0
22
info:
33
title: Trophy
4-
version: '1.8.0'
4+
version: '1.10.0'
55
paths:
66
/attributes:
77
servers:
@@ -4473,7 +4473,9 @@ components:
44734473
format: uuid
44744474
description: The points system ID to rank by when `rankBy` is `points`.
44754475
maxParticipants:
4476-
type: integer
4476+
type:
4477+
- integer
4478+
- 'null'
44774479
minimum: 1
44784480
maximum: 1000
44794481
default: 1000
@@ -4554,7 +4556,9 @@ components:
45544556
format: uuid
45554557
description: The points system ID used when `rankBy` is `points`.
45564558
maxParticipants:
4557-
type: integer
4559+
type:
4560+
- integer
4561+
- 'null'
45584562
description: The maximum number of participants.
45594563
start:
45604564
type: string
@@ -4659,7 +4663,9 @@ components:
46594663
format: uuid
46604664
description: The points system ID to use when `rankBy` is `points`.
46614665
maxParticipants:
4662-
type: integer
4666+
type:
4667+
- integer
4668+
- 'null'
46634669
minimum: 1
46644670
maximum: 1000
46654671
description: The updated maximum number of participants.

openapi/application.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
openapi: 3.1.0
22
info:
33
title: Trophy
4-
version: '1.8.0'
4+
version: '1.10.0'
55
paths:
66
/achievements:
77
servers:
@@ -4497,7 +4497,9 @@ components:
44974497
description: The end date of the leaderboard in YYYY-MM-DD format, or null if it runs forever.
44984498
example: '2025-12-31'
44994499
maxParticipants:
4500-
type: integer
4500+
type:
4501+
- integer
4502+
- 'null'
45014503
description: The maximum number of participants in the leaderboard.
45024504
example: 100
45034505
runUnit:

0 commit comments

Comments
 (0)