From 08d79d13d7d8e59121578f9ad7f88dfd34aa75b3 Mon Sep 17 00:00:00 2001 From: Adithya Date: Wed, 16 Jun 2021 01:29:53 -0700 Subject: [PATCH] Updating Swagger Correctness (#14789) * Updating Swagger Correctness * prettier fix * Updating Go Readme for formatting Co-authored-by: Adithya Jayachandran --- .../stable/2019-06-01/WindowsIotServices.json | 4 ++++ .../2019-06-01/examples/OperationsList.json | 15 ++++++++++----- .../windowsiot/resource-manager/readme.go.md | 2 +- 3 files changed, 15 insertions(+), 6 deletions(-) diff --git a/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/stable/2019-06-01/WindowsIotServices.json b/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/stable/2019-06-01/WindowsIotServices.json index 53ed8c365681..e960d47b100f 100644 --- a/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/stable/2019-06-01/WindowsIotServices.json +++ b/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/stable/2019-06-01/WindowsIotServices.json @@ -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" } } }, diff --git a/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/stable/2019-06-01/examples/OperationsList.json b/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/stable/2019-06-01/examples/OperationsList.json index c556a62abff0..d9de942d0663 100644 --- a/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/stable/2019-06-01/examples/OperationsList.json +++ b/specification/windowsiot/resource-manager/Microsoft.WindowsIoT/stable/2019-06-01/examples/OperationsList.json @@ -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", @@ -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", @@ -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", @@ -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", @@ -49,7 +53,8 @@ "resource": "Operations", "operation": "Poll Asynchronous Operation", "description": "Polls the status of an asynchronous operation." - } + }, + "origin": "user,system" } ] } diff --git a/specification/windowsiot/resource-manager/readme.go.md b/specification/windowsiot/resource-manager/readme.go.md index 6cf59aed7110..54ddfb92ebfe 100644 --- a/specification/windowsiot/resource-manager/readme.go.md +++ b/specification/windowsiot/resource-manager/readme.go.md @@ -12,7 +12,7 @@ go: ### Go multi-api ``` yaml $(go) && $(multiapi) -windowsiot: +batch: - tag: package-2019-06 - tag: package-2018-02-preview ```