forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a0ed6a8
commit cf5837e
Showing
4 changed files
with
2,561 additions
and
0 deletions.
There are no files selected for viewing
44 changes: 44 additions & 0 deletions
44
...tureplatform/data-plane/Microsoft.AgriculturePlatform/preview/2024-11-01-preview/main.tsp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
/** | ||
* PLEASE DO NOT REMOVE - USED FOR CONVERTER METRICS | ||
* Generated by package: @autorest/openapi-to-typespec | ||
* Parameters used: | ||
* isFullCompatible: false | ||
* guessResourceKey: false | ||
* Version: 0.10.9 | ||
* Date: 2025-02-17T08:52:03.812Z | ||
*/ | ||
import "@typespec/rest"; | ||
import "@typespec/http"; | ||
import "./routes.tsp"; | ||
|
||
using TypeSpec.Rest; | ||
using TypeSpec.Http; | ||
using TypeSpec.Versioning; | ||
|
||
/** | ||
* APIs documentation for Azure AgPlatform DataPlane Service. | ||
*/ | ||
@useAuth(ApiKeyAuth<ApiKeyLocation.header, "Authorization">) | ||
@service({ | ||
title: "Azure AgFoodPlatform Data Plane Service", | ||
}) | ||
@versioned(Versions) | ||
@server( | ||
"{$host}", | ||
"APIs documentation for Azure AgPlatform DataPlane Service.", | ||
{ | ||
$host: string, | ||
} | ||
) | ||
namespace AzureAgFoodPlatformDataPlaneService; | ||
|
||
/** | ||
* The available API versions. | ||
*/ | ||
enum Versions { | ||
/** | ||
* The 2024-11-01-preview API version. | ||
*/ | ||
@useDependency(Azure.Core.Versions.v1_0_Preview_1) | ||
v2024_11_01_preview: "2024-11-01-preview", | ||
} |
Oops, something went wrong.