From 6ee05dd1411c396ca88eebc021cefa84ddfe88cb Mon Sep 17 00:00:00 2001 From: v-tianxi Date: Thu, 3 Apr 2025 12:05:42 +0800 Subject: [PATCH] add swagger change --- .../preview/2023-06-01-preview/agfood.json | 54 ------------------- 1 file changed, 54 deletions(-) diff --git a/specification/agrifood/resource-manager/Microsoft.AgFoodPlatform/preview/2023-06-01-preview/agfood.json b/specification/agrifood/resource-manager/Microsoft.AgFoodPlatform/preview/2023-06-01-preview/agfood.json index 6a3cfc765ce5..f59e308e5cce 100644 --- a/specification/agrifood/resource-manager/Microsoft.AgFoodPlatform/preview/2023-06-01-preview/agfood.json +++ b/specification/agrifood/resource-manager/Microsoft.AgFoodPlatform/preview/2023-06-01-preview/agfood.json @@ -6,60 +6,6 @@ "version": "2023-06-01-preview" }, "paths": { - "/subscriptions/{subscriptionId}/providers/Microsoft.AgFoodPlatform/checkNameAvailability": { - "post": { - "tags": [ - "CheckNameAvailability" - ], - "description": "Checks the name availability of the resource with requested resource name.", - "operationId": "CheckNameAvailability_CheckNameAvailability", - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "parameters": [ - { - "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/SubscriptionIdParameter" - }, - { - "$ref": "../../../../../common-types/resource-management/v4/types.json#/parameters/ApiVersionParameter" - }, - { - "in": "body", - "name": "nameAvailabilityRequest", - "description": "NameAvailabilityRequest object.", - "required": true, - "schema": { - "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/CheckNameAvailabilityRequest" - } - } - ], - "responses": { - "200": { - "description": "Success", - "schema": { - "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/CheckNameAvailabilityResponse" - } - }, - "default": { - "description": "Error", - "schema": { - "$ref": "../../../../../common-types/resource-management/v4/types.json#/definitions/ErrorResponse" - } - } - }, - "x-ms-examples": { - "CheckNameAvailability_CheckNameAvailability_AlreadyExists": { - "$ref": "./examples/CheckNameAvailability_CheckNameAvailability_AlreadyExists.json" - }, - "CheckNameAvailability_CheckNameAvailability_Available": { - "$ref": "./examples/CheckNameAvailability_CheckNameAvailability_Available.json" - } - } - } - }, "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AgFoodPlatform/farmBeats/{dataManagerForAgricultureResourceName}/dataConnectors/{dataConnectorName}": { "get": { "tags": [