Skip to content
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -1476,7 +1476,7 @@
"Break"
],
"x-ms-enum": {
"name": "LeaseContainerRequest",
"name": "LeaseContainerRequestAction",
"modelAsString": true
},
"description": "Specifies the lease action. Can be one of the available actions."
Expand Down
7 changes: 7 additions & 0 deletions specification/storage/resource-manager/readme.go.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@ output-folder: $(go-sdk-folder)/$(module-name)
azure-arm: true
modelerfour:
lenient-model-deduplication: true
directive:
- from: swagger-document
where: $.definitions.CorsRule
transform: $['properties']['allowedMethods']['items']['x-ms-enum']['name'] = 'CorsRuleAllowedMethodsItem'
- from: swagger-document
where: $.definitions.ActiveDirectoryProperties
transform: $['properties']['accountType']['x-ms-enum']['name'] = 'ActiveDirectoryPropertiesAccountType'
```

### Go multi-api
Expand Down