Merge pull request #1364 from turt2live/travis/server-name-join

Document the server_name query parameter on /join/{roomIdOrAlias}
This commit is contained in:
Travis Ralston 2018-07-06 07:00:24 -06:00 committed by GitHub
commit 1722734a51
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 16 additions and 0 deletions

View file

@ -502,6 +502,11 @@ class MatrixUnits(Units):
# assign value expected for this param
val_type = param.get("type") # integer/string
if val_type == "array":
items = param.get("items")
if items:
val_type = "[%s]" % items.get("type")
if param.get("enum"):
val_type = "enum"
desc += (