From 7d1b1c4c531b1e387c51f7eef4c9638e510aae5f Mon Sep 17 00:00:00 2001 From: Adarsh R Jayan Date: Fri, 16 Sep 2022 16:56:48 +0530 Subject: [PATCH 1/2] Update swagger.json client_id and client_secret are mandatory in token revoke api --- spec/swagger.json | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) 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 +} From 89f9a1ece363d20c537b1faf72c961f84583e195 Mon Sep 17 00:00:00 2001 From: Adarsh R Jayan Date: Fri, 16 Sep 2022 16:59:16 +0530 Subject: [PATCH 2/2] Update api.json --- spec/api.json | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) 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 +}