diff options
author | Julien Veyssier <julien-nc@posteo.net> | 2023-10-04 13:27:16 +0200 |
---|---|---|
committer | Julien Veyssier <julien-nc@posteo.net> | 2023-10-05 14:24:03 +0200 |
commit | 98c8a465b0976dc39a0ab75cbeb625a79cadcaa3 (patch) | |
tree | 6a3a419689354c107be9ebffba16c42a807151b2 /apps/oauth2 | |
parent | da63d3c27b6b1192468ca33a438b67902a80133a (diff) | |
download | nextcloud-server-98c8a465b0976dc39a0ab75cbeb625a79cadcaa3.tar.gz nextcloud-server-98c8a465b0976dc39a0ab75cbeb625a79cadcaa3.zip |
update OpenAPI specs
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
Diffstat (limited to 'apps/oauth2')
-rw-r--r-- | apps/oauth2/openapi.json | 26 |
1 files changed, 18 insertions, 8 deletions
diff --git a/apps/oauth2/openapi.json b/apps/oauth2/openapi.json index a9903ae3473..c745e73bf79 100644 --- a/apps/oauth2/openapi.json +++ b/apps/oauth2/openapi.json @@ -121,40 +121,50 @@ "name": "code", "in": "query", "description": "Code of the flow", - "required": true, "schema": { - "type": "string" + "type": "string", + "nullable": true } }, { "name": "refresh_token", "in": "query", "description": "Refresh token", - "required": true, "schema": { - "type": "string" + "type": "string", + "nullable": true } }, { "name": "client_id", "in": "query", "description": "Client ID", - "required": true, "schema": { - "type": "string" + "type": "string", + "nullable": true } }, { "name": "client_secret", "in": "query", "description": "Client secret", - "required": true, "schema": { - "type": "string" + "type": "string", + "nullable": true } } ], "responses": { + "500": { + "description": "", + "content": { + "text/plain": { + "schema": { + "type": "string" + } + } + } + }, "200": { "description": "Token returned", "content": { |