diff --git a/apps/oauth2/openapi.json b/apps/oauth2/openapi.json index a9903ae3473e5..c745e73bf7938 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": {