Skip to content

Commit 95d9efc

Browse files
weidongxu-microsoftFredericHeem
authored andcommitted
mgmt, cdn, directive to fix conflict naming (Azure#17729)
1 parent d14303b commit 95d9efc

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

specification/cdn/resource-manager/readme.java.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,15 @@ namespace: com.microsoft.azure.management.cdn
1010
license-header: MICROSOFT_MIT_NO_CODEGEN
1111
payload-flattening-threshold: 1
1212
output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-cdn
13+
14+
directive:
15+
- from: swagger-document
16+
where: $.definitions.DeliveryRuleAction.properties.name
17+
transform: >
18+
$['x-ms-enum'] = {
19+
"name": "DeliveryRuleActionValue",
20+
"modelAsString": true
21+
};
1322
```
1423
1524
### Java multi-api

0 commit comments

Comments
 (0)