Fix the appservice directory visibility type parameter type

This commit is contained in:
Travis Ralston 2018-08-28 12:11:36 -06:00
parent 791a2f2b17
commit ad068bcd22

View file

@ -62,11 +62,12 @@ paths:
x-example: "!somewhere:domain.com"
- in: body
name: body
required: true
schema:
type: object
properties:
visibility:
type: enum
type: string
enum: ["public", "private"]
description: |-
Whether the room should be visible (public) in the directory