Skip to content

Commit 14dcb9b

Browse files
author
Sushil Upadhyay
committed
Add Operation API Swagger examples..
1 parent d35fbca commit 14dcb9b

File tree

2 files changed

+32
-0
lines changed

2 files changed

+32
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "subid",
4+
"resourceGroupName": "rg",
5+
"automationAccountName": "MyAutomationAccount",
6+
"api-version": "2022-08-08"
7+
},
8+
"responses": {
9+
"200": {
10+
"headers": {},
11+
"body": {
12+
"keys": [
13+
{
14+
"KeyName": "Primary",
15+
"Permissions": "Full",
16+
"Value": "**************************************************************"
17+
},
18+
{
19+
"KeyName": "Secondary",
20+
"Permissions": "Full",
21+
"Value": "**************************************************************"
22+
}
23+
]
24+
}
25+
}
26+
}
27+
}

specification/automation/resource-manager/Microsoft.Automation/stable/2022-08-08/operations.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,11 @@
6464
},
6565
"x-ms-pageable": {
6666
"nextLinkName": null
67+
},
68+
"x-ms-examples": {
69+
"Lists all of the available Automation REST API operations.": {
70+
"$ref": "./examples/listRestAPIOperations.json"
71+
}
6772
}
6873
}
6974
}

0 commit comments

Comments
 (0)