Add required fields to HistoryCount object in schema
Updated the schema to include `bans`, `mutes`, `warnings`, and `kicks` as required properties in the `HistoryCount` object. This ensures proper validation and consistency across the API.
This commit is contained in:
parent
2b27fb6955
commit
3499f331a0
|
|
@ -227,6 +227,11 @@ components:
|
||||||
- uuid
|
- uuid
|
||||||
HistoryCount:
|
HistoryCount:
|
||||||
type: object
|
type: object
|
||||||
|
required:
|
||||||
|
- bans
|
||||||
|
- mutes
|
||||||
|
- warnings
|
||||||
|
- kicks
|
||||||
properties:
|
properties:
|
||||||
bans:
|
bans:
|
||||||
type: integer
|
type: integer
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user