Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AnomalyDetector] Add doc decorators #24303

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
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
2 changes: 2 additions & 0 deletions specification/cognitiveservices/AnomalyDetector/main.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ namespace AnomalyDetector;
@doc("The secret key for your Azure Cognitive Services subscription.")
model AnomalyDetectorApiKeyAuth is ApiKeyAuth<ApiKeyLocation.header, "Ocp-Apim-Subscription-Key">;

@doc("The versions of this service")
mikeharder marked this conversation as resolved.
Show resolved Hide resolved
enum APIVersion {
@doc("Version 1.1")
v1_1: "v1.1",
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"name": "ApiVersion",
"in": "path",
"required": true,
"description": "The versions of this service",
"type": "string",
"enum": [
"v1.1"
Expand All @@ -38,7 +39,8 @@
"values": [
{
"name": "v1_1",
"value": "v1.1"
"value": "v1.1",
"description": "Version 1.1"
}
]
}
Expand Down