Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{

Check failure on line 1 in specification/agrifood/resource-manager/Microsoft.AgFoodPlatform/preview/2023-06-01-preview/agfood.json

View workflow job for this annotation

GitHub Actions / TypeSpec Requirement

OpenAPI was not generated from TypeSpec, and spec appears to be new
"swagger": "2.0",
"info": {
"title": "Azure AgFoodPlatform RP Service",
Expand All @@ -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": [
Expand Down
Loading