Fix the appservice directory visibility type parameter type
This commit is contained in:
parent
791a2f2b17
commit
ad068bcd22
1 changed files with 2 additions and 1 deletions
|
@ -62,11 +62,12 @@ paths:
|
||||||
x-example: "!somewhere:domain.com"
|
x-example: "!somewhere:domain.com"
|
||||||
- in: body
|
- in: body
|
||||||
name: body
|
name: body
|
||||||
|
required: true
|
||||||
schema:
|
schema:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
visibility:
|
visibility:
|
||||||
type: enum
|
type: string
|
||||||
enum: ["public", "private"]
|
enum: ["public", "private"]
|
||||||
description: |-
|
description: |-
|
||||||
Whether the room should be visible (public) in the directory
|
Whether the room should be visible (public) in the directory
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue