From e5c450a884c33e5b58de38f8e1ef5c064eee5dbf Mon Sep 17 00:00:00 2001 From: Swagat Mishra Date: Wed, 20 Jun 2018 16:26:32 -0700 Subject: [PATCH 1/2] misc fixes to oauth related api's on botservice swagger --- .../preview/2017-12-01/botservice.json | 13 ++++++++----- .../2017-12-01/examples/ListServiceProviders.json | 1 - 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/botservice.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/botservice.json index ae1f8803d9b9..cda47e6f45c9 100644 --- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/botservice.json +++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/botservice.json @@ -683,7 +683,7 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.BotService/BotServices/listServiceProviders": { + "/subscriptions/{subscriptionId}/providers/Microsoft.BotService/listAuthServiceProviders": { "post": { "tags": [ "ListServiceProviders" @@ -1851,13 +1851,11 @@ "properties": { "key": { "type": "string", - "description": "Key for the Connection Setting Parameter.", - "readOnly": true + "description": "Key for the Connection Setting Parameter." }, "value": { "type": "string", - "description": "Value associated with the Connection Setting Parameter.", - "readOnly": true + "description": "Value associated with the Connection Setting Parameter." } }, "description": "Extra Parameter in a Connection Setting Properties to indicate service provider specific properties" @@ -1868,6 +1866,11 @@ "type": "string", "description": "Client Id associated with the Connection Setting." }, + "settingId": { + "type": "string", + "description": "Setting Id set by the service for the Connection Setting.", + "readOnly": true + }, "clientSecret": { "type": "string", "description": "Client Secret associated with the Connection Setting" diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/ListServiceProviders.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/ListServiceProviders.json index 69a568e0b90f..ff0c08f4bb8d 100644 --- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/ListServiceProviders.json +++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/examples/ListServiceProviders.json @@ -1,7 +1,6 @@ { "parameters": { "subscriptionId": "subscription-id", - "resourceGroupName": "OneResourceGroupName", "api-version": "2017-01-01" }, "responses": { From ee2a28682a2c0a6c4255e5eb1dc8bfe077982b49 Mon Sep 17 00:00:00 2001 From: Swagat Mishra Date: Tue, 3 Jul 2018 11:57:01 -0700 Subject: [PATCH 2/2] remove resource group parameter from list auth providers --- .../Microsoft.BotService/preview/2017-12-01/botservice.json | 3 --- 1 file changed, 3 deletions(-) diff --git a/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/botservice.json b/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/botservice.json index cda47e6f45c9..37db705be2ba 100644 --- a/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/botservice.json +++ b/specification/botservice/resource-manager/Microsoft.BotService/preview/2017-12-01/botservice.json @@ -696,9 +696,6 @@ } }, "parameters": [ - { - "$ref": "#/parameters/resourceGroupNameParameter" - }, { "$ref": "#/parameters/apiVersionParameter" },