From c83a5560975d24b02654ed14873e2c7e187103ad Mon Sep 17 00:00:00 2001 From: Richard van der Hoff Date: Mon, 21 Nov 2016 17:54:47 +0000 Subject: [PATCH] Set default account 'kind' to 'user' Fixes https://github.com/matrix-org/matrix-doc/issues/736 --- api/client-server/registration.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/api/client-server/registration.yaml b/api/client-server/registration.yaml index 756004c1..d09cd431 100644 --- a/api/client-server/registration.yaml +++ b/api/client-server/registration.yaml @@ -53,7 +53,9 @@ paths: - in: query name: kind type: string - x-example: guest + # swagger-UI overrides the default with the example, so better make the + # example the default. + x-example: user required: false default: user enum: