diff options
-rw-r--r-- | support/doc/api/openapi.yaml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/support/doc/api/openapi.yaml b/support/doc/api/openapi.yaml index 7eec9ec28..951d3886f 100644 --- a/support/doc/api/openapi.yaml +++ b/support/doc/api/openapi.yaml | |||
@@ -5642,6 +5642,7 @@ components: | |||
5642 | description: The user username | 5642 | description: The user username |
5643 | minLength: 1 | 5643 | minLength: 1 |
5644 | maxLength: 50 | 5644 | maxLength: 50 |
5645 | pattern: '/^[a-z0-9._]{1,50}$/' | ||
5645 | password: | 5646 | password: |
5646 | type: string | 5647 | type: string |
5647 | format: password | 5648 | format: password |
@@ -5661,6 +5662,7 @@ components: | |||
5661 | channelName: | 5662 | channelName: |
5662 | type: string | 5663 | type: string |
5663 | description: The user default channel username | 5664 | description: The user default channel username |
5665 | pattern: '/^[ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789\\-_.:]+$/' | ||
5664 | role: | 5666 | role: |
5665 | $ref: '#/components/schemas/UserRole' | 5667 | $ref: '#/components/schemas/UserRole' |
5666 | adminFlags: | 5668 | adminFlags: |