Skip to content

Commit

Permalink
PrettyCheck fix for files in example folder (#5132)
Browse files Browse the repository at this point in the history
* PrettyCheck fix DeleteVMMServer.json

* PrettyCheck files in examples

* git go sdk track 2

* Correcting the format
  • Loading branch information
mchoubey2021 authored Oct 12, 2021
1 parent 4aae218 commit d6c225b
Show file tree
Hide file tree
Showing 11 changed files with 48 additions and 74 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@
"202": {},
"204": {}
}
}
}
Original file line number Diff line number Diff line change
@@ -1,19 +1,13 @@
{
"parameters":{
"api-version":"2020-06-05-preview",
"subscriptionId":"fd3c3665-1729-4b7b-9a38-238e83b0f98b",
"resourceGroupName":"testrg",
"vmmServerName":"ContosoVMMServer"
},
"responses":{
"200":{

},
"202":{

},
"204":{

}
}
}
"parameters": {
"api-version": "2020-06-05-preview",
"subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
"resourceGroupName": "testrg",
"vmmServerName": "ContosoVMMServer"
},
"responses": {
"200": {},
"202": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@
"202": {},
"204": {}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@
"202": {},
"204": {}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@
"202": {},
"204": {}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -145,4 +145,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -1,16 +1,12 @@
{
"parameters":{
"api-version":"2020-06-05-preview",
"subscriptionId":"fd3c3665-1729-4b7b-9a38-238e83b0f98b",
"resourceGroupName":"testrg",
"virtualMachineName":"DemoVM"
},
"responses":{
"200":{

},
"202":{

}
}
"parameters": {
"api-version": "2020-06-05-preview",
"subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
"resourceGroupName": "testrg",
"virtualMachineName": "DemoVM"
},
"responses": {
"200": {},
"202": {}
}
}
Original file line number Diff line number Diff line change
@@ -1,16 +1,12 @@
{
"parameters":{
"api-version":"2020-06-05-preview",
"subscriptionId":"fd3c3665-1729-4b7b-9a38-238e83b0f98b",
"resourceGroupName":"testrg",
"virtualMachineName":"DemoVM"
},
"responses":{
"200":{

},
"202":{

}
}
"parameters": {
"api-version": "2020-06-05-preview",
"subscriptionId": "fd3c3665-1729-4b7b-9a38-238e83b0f98b",
"resourceGroupName": "testrg",
"virtualMachineName": "DemoVM"
},
"responses": {
"200": {},
"202": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,8 @@
"skipShutdown": true
}
},
"responses":{
"200":{

},
"202":{

}
}
"responses": {
"200": {},
"202": {}
}
}
20 changes: 6 additions & 14 deletions specification/scvmm/resource-manager/readme.go.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,10 @@

These settings apply only when `--go` is specified on the command line.

```yaml $(go)
go:
license-header: MICROSOFT_APACHE_NO_VERSION
clear-output-folder: true
```
### Tag: package-2020-06-05-preview and go
These settings apply only when `--tag=package-2020-06-05-preview --go` is specified on the command line.
Please also specify `--go-sdks-folder=<path to the root directory of your azure-sdk-for-go clone>`.

```yaml $(tag) == 'package-2020-06-05-preview' && $(go)
namespace: scvmm
output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2020-06-05-preview/$(namespace)
```yaml $(go) && $(track2)
azure-arm: true
license-header: MICROSOFT_MIT_NO_VERSION
module-name: sdk/resourcemanager/scvmm/armscvmm
module: github.com/Azure/azure-sdk-for-go/$(module-name)
output-folder: $(go-sdk-folder)/$(module-name)
```
2 changes: 1 addition & 1 deletion specification/scvmm/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ This is not used by Autorest itself.
swagger-to-sdk:
- repo: azure-sdk-for-python
- repo: azure-sdk-for-java
- repo: azure-sdk-for-go
- repo: azure-sdk-for-go-track2
- repo: azure-sdk-for-js
- repo: azure-sdk-for-ruby
after_scripts:
Expand Down

0 comments on commit d6c225b

Please sign in to comment.