diff --git a/spec/api.json b/spec/api.json index 3b3a1cab3a4..33e941930fa 100644 --- a/spec/api.json +++ b/spec/api.json @@ -3633,10 +3633,26 @@ ], "type": "string", "x-formData-name": "token" + }, + "client_id": { + "required": [ + "client_id" + ], + "type": "string", + "x-formData-name": "client_id" + }, + "client_secret": { + "required": [ + "client_secret" + ], + "type": "string", + "x-formData-name": "client_secret" } }, "required": [ - "token" + "token", + "client_id", + "client_secret" ], "type": "object" } @@ -3832,4 +3848,4 @@ }, "x-forwarded-proto": "string", "x-request-id": "string" -} \ No newline at end of file +} diff --git a/spec/swagger.json b/spec/swagger.json index 35300e6be04..2ae20bbab54 100755 --- a/spec/swagger.json +++ b/spec/swagger.json @@ -1877,6 +1877,18 @@ "name": "token", "in": "formData", "required": true + }, + { + "type": "string", + "name": "client_id", + "in": "formData", + "required": true + }, + { + "type": "string", + "name": "client_secret", + "in": "formData", + "required": true } ], "responses": { @@ -3703,4 +3715,4 @@ }, "x-forwarded-proto": "string", "x-request-id": "string" -} \ No newline at end of file +}