Skip to content

Commit

Permalink
Updating Swagger Correctness (Azure#14789)
Browse files Browse the repository at this point in the history
* Updating Swagger Correctness

* prettier fix

* Updating Go Readme for formatting

Co-authored-by: Adithya Jayachandran <adjayach@microsoft.com>
  • Loading branch information
adithyaj and Adithya Jayachandran committed Jun 16, 2021
1 parent 2b0b50e commit 08d79d1
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -554,6 +554,10 @@
"isDataAction": {
"description": "Indicates whether the operation is a data action",
"type": "boolean"
},
"origin": {
"description": "Indicates the executor of the operation.",
"type": "string"
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"resource": "Windows IoT Services",
"operation": "Create/Update Windows IoT Subscription",
"description": "Creates a Windows IoT Subscription with the specified parameters or update the properties or tags or adds custom domain for the specified Windows IoT Subscription."
}
},
"origin": "user,system"
},
{
"name": "Microsoft.WindowsIoT/Services/delete",
Expand All @@ -22,7 +23,8 @@
"resource": "Windows IoT Services",
"operation": "Delete Windows IoT Subscription",
"description": "Deletes an existing Windows IoT Subscription."
}
},
"origin": "user,system"
},
{
"name": "Microsoft.WindowsIoT/checkNameAvailability/read",
Expand All @@ -31,7 +33,8 @@
"resource": "Name Availability",
"operation": "Check Name Availability",
"description": "Checks that account name is valid and is not in use."
}
},
"origin": "user,system"
},
{
"name": "Microsoft.WindowsIoT/Services/read",
Expand All @@ -40,7 +43,8 @@
"resource": "Windows IoT Services",
"operation": "List/Get Windows IoT Subscription(s)",
"description": "Returns the list of Windows IoT Services or gets the properties for the specified Windows IoT Subscription."
}
},
"origin": "user,system"
},
{
"name": "Microsoft.WindowsIoT/operations/read",
Expand All @@ -49,7 +53,8 @@
"resource": "Operations",
"operation": "Poll Asynchronous Operation",
"description": "Polls the status of an asynchronous operation."
}
},
"origin": "user,system"
}
]
}
Expand Down
2 changes: 1 addition & 1 deletion specification/windowsiot/resource-manager/readme.go.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ go:
### Go multi-api
``` yaml $(go) && $(multiapi)
windowsiot:
batch:
- tag: package-2019-06
- tag: package-2018-02-preview
```
Expand Down

0 comments on commit 08d79d1

Please sign in to comment.