From d949bfbb4ce241a1528edb9c15e7c3032c0cefe3 Mon Sep 17 00:00:00 2001 From: v-tianxi Date: Wed, 16 Oct 2024 14:29:42 +0800 Subject: [PATCH 1/3] test only one swagger suppression --- .../stable/2018-06-01/datafactory.json | 78 ------------------- 1 file changed, 78 deletions(-) diff --git a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/datafactory.json b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/datafactory.json index 12cf1c733b0b..c78da852553f 100644 --- a/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/datafactory.json +++ b/specification/datafactory/resource-manager/Microsoft.DataFactory/stable/2018-06-01/datafactory.json @@ -33,42 +33,6 @@ } }, "paths": { - "/providers/Microsoft.DataFactory/operations": { - "get": { - "tags": [ - "operations" - ], - "operationId": "Operations_List", - "x-ms-examples": { - "Operations_List": { - "$ref": "./examples/Operations_List.json" - } - }, - "description": "Lists the available Azure Data Factory API operations.", - "parameters": [ - { - "$ref": "#/parameters/api-version" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/OperationListResponse" - } - }, - "default": { - "description": "An error response received from the Azure Data Factory service.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, "/subscriptions/{subscriptionId}/providers/Microsoft.DataFactory/factories": { "get": { "tags": [ @@ -306,48 +270,6 @@ } } }, - "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories": { - "get": { - "tags": [ - "factories" - ], - "operationId": "Factories_ListByResourceGroup", - "x-ms-examples": { - "Factories_ListByResourceGroup": { - "$ref": "./examples/Factories_ListByResourceGroup.json" - } - }, - "description": "Lists factories.", - "parameters": [ - { - "$ref": "#/parameters/subscriptionId" - }, - { - "$ref": "#/parameters/resourceGroupName" - }, - { - "$ref": "#/parameters/api-version" - } - ], - "responses": { - "200": { - "description": "OK.", - "schema": { - "$ref": "#/definitions/FactoryListResponse" - } - }, - "default": { - "description": "An error response received from the Azure Data Factory service.", - "schema": { - "$ref": "#/definitions/CloudError" - } - } - }, - "x-ms-pageable": { - "nextLinkName": "nextLink" - } - } - }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}": { "put": { "tags": [ From 6645aeaa0f175ff26fced0d4db419cbcab5340ec Mon Sep 17 00:00:00 2001 From: v-tianxi Date: Thu, 17 Oct 2024 23:03:47 +0800 Subject: [PATCH 2/3] add suppression file --- .../resource-manager/sdk-suppressions.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/specification/datafactory/resource-manager/sdk-suppressions.yaml b/specification/datafactory/resource-manager/sdk-suppressions.yaml index b22077464b74..60f5436bfd8a 100644 --- a/specification/datafactory/resource-manager/sdk-suppressions.yaml +++ b/specification/datafactory/resource-manager/sdk-suppressions.yaml @@ -9,6 +9,19 @@ suppressions: - package: sdk/resourcemanager/datafactory/armdatafactory breaking-changes: - Type of `AzureTableStorageLinkedService.TypeProperties` has been changed from `*AzureStorageLinkedServiceTypeProperties` to `*AzureTableStorageLinkedServiceTypeProperties` + - Function `*ClientFactory.NewOperationsClient` has been removed + - Function `*FactoriesClient.NewListByResourceGroupPager` has been removed + - Function `*OperationsClient.NewListPager` has been removed + - Function `NewOperationsClient` has been removed + - Struct `OperationDisplay` has been removed + - Struct `OperationListResponse` has been removed + - Struct `OperationLogSpecification` has been removed + - Struct `OperationMetricAvailability` has been removed + - Struct `OperationMetricDimension` has been removed + - Struct `OperationMetricSpecification` has been removed + - Struct `OperationProperties` has been removed + - Struct `OperationServiceSpecification` has been removed + - Struct `Operation` has been removed azure-sdk-for-js: - package: "@azure/arm-datafactory" breaking-changes: From de7e0103c41aada8161a1886c72462f125551ca5 Mon Sep 17 00:00:00 2001 From: v-tianxi Date: Thu, 17 Oct 2024 23:03:58 +0800 Subject: [PATCH 3/3] add suppression file --- specification/datafactory/resource-manager/sdk-suppressions.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/specification/datafactory/resource-manager/sdk-suppressions.yaml b/specification/datafactory/resource-manager/sdk-suppressions.yaml index 60f5436bfd8a..7cd2e3206037 100644 --- a/specification/datafactory/resource-manager/sdk-suppressions.yaml +++ b/specification/datafactory/resource-manager/sdk-suppressions.yaml @@ -15,7 +15,6 @@ suppressions: - Function `NewOperationsClient` has been removed - Struct `OperationDisplay` has been removed - Struct `OperationListResponse` has been removed - - Struct `OperationLogSpecification` has been removed - Struct `OperationMetricAvailability` has been removed - Struct `OperationMetricDimension` has been removed - Struct `OperationMetricSpecification` has been removed