fix: schema changes for b860c2605c

This commit is contained in:
Julian Lam
2023-01-26 16:45:43 -05:00
parent 93c41911c4
commit f9b1422247

View File

@@ -97,11 +97,11 @@ get:
type: array
items:
$ref: ../../../components/schemas/UserObject.yaml#/UserObjectSlim
subCategoryCount:
type: number
selectedCategory:
$ref: ../../../components/schemas/CategoryObject.yaml#/CategoryObject
allPrivileges:
type: array
items:
type: string
description: A simple array containing user privilege names (used client-side when giving mod privilege)
nullable: true
anyOf:
- $ref: ../../../components/schemas/CategoryObject.yaml#/CategoryObject
- $ref: ../../../components/schemas/Pagination.yaml#/Pagination
- $ref: ../../../components/schemas/CommonProps.yaml#/CommonProps