Merge pull request #1364 from turt2live/travis/server-name-join
Document the server_name query parameter on /join/{roomIdOrAlias}
This commit is contained in:
commit
1722734a51
3 changed files with 16 additions and 0 deletions
|
@ -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 += (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue