Skip to content

Commit e716082

Browse files
authored
[Go] security add directive (#23644)
* [Go] security add directive * deduplication
1 parent e60df62 commit e716082

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

specification/security/resource-manager/readme.go.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,16 @@ module-name: sdk/resourcemanager/security/armsecurity
1515
module: github.com/Azure/azure-sdk-for-go/$(module-name)
1616
output-folder: $(go-sdk-folder)/$(module-name)
1717
azure-arm: true
18+
modelerfour:
19+
lenient-model-deduplication: true
1820
directive:
1921
- from: swagger-document
2022
where: '$.paths.*[?(@.operationId.startsWith("Connectors_"))]'
2123
transform: >
2224
$["operationId"] = $["operationId"].replace("Connectors_", "AccountConnectors_");
25+
- rename-model:
26+
from: SecurityOperator
27+
to: OperatorResource
2328
```
2429
2530
### Common Go settings

0 commit comments

Comments
 (0)