diff options
Diffstat (limited to 'support')
-rw-r--r-- | support/doc/api/openapi.yaml | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/support/doc/api/openapi.yaml b/support/doc/api/openapi.yaml index 7ffe8c67b..69a6eff72 100644 --- a/support/doc/api/openapi.yaml +++ b/support/doc/api/openapi.yaml | |||
@@ -7522,13 +7522,16 @@ components: | |||
7522 | nsfwPolicy: | 7522 | nsfwPolicy: |
7523 | $ref: '#/components/schemas/NSFWPolicy' | 7523 | $ref: '#/components/schemas/NSFWPolicy' |
7524 | role: | 7524 | role: |
7525 | $ref: '#/components/schemas/UserRole' | 7525 | type: object |
7526 | roleLabel: | 7526 | properties: |
7527 | type: string | 7527 | id: |
7528 | enum: | 7528 | $ref: '#/components/schemas/UserRole' |
7529 | - User | 7529 | label: |
7530 | - Moderator | 7530 | type: string |
7531 | - Administrator | 7531 | enum: |
7532 | - User | ||
7533 | - Moderator | ||
7534 | - Administrator | ||
7532 | theme: | 7535 | theme: |
7533 | type: string | 7536 | type: string |
7534 | description: Theme enabled by this user | 7537 | description: Theme enabled by this user |