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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user