Skip to content

Commit

Permalink
datafactory, clean directive after Dapeng (Azure#17016)
Browse files Browse the repository at this point in the history
  • Loading branch information
weidongxu-microsoft committed Dec 14, 2021
1 parent 6654157 commit 91c198e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 24 deletions.
12 changes: 0 additions & 12 deletions specification/datafactory/resource-manager/readme.java.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,6 @@ namespace: com.microsoft.azure.management.datafactory
license-header: MICROSOFT_MIT_NO_CODEGEN
payload-flattening-threshold: 1
output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-datafactory

directive:
- from: ManagedPrivateEndpoint.json
where: "$.definitions.ManagedPrivateEndpoint"
transform: delete $.discriminator
- from: ManagedVirtualNetwork.json
where: "$.definitions.ManagedVirtualNetwork"
transform: delete $.discriminator
- from: DataFlow.json
where: "$.definitions.DataFlow"
transform: $.required = ['type']
reason: discriminator property must be required
```
# Validation
Expand Down
12 changes: 0 additions & 12 deletions specification/datafactory/resource-manager/readme.python.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,16 +42,4 @@ directive:
where: $.definitions.ScriptAction.properties.roles
transform: >
$['type'] = 'string';
- from: swagger-document
where: $.definitions.DataFlow
transform: >
$['required'] = ['type'];
- from: swagger-document
where: $.definitions.ManagedPrivateEndpoint
transform: >
$['required'] = ['type'];
- from: swagger-document
where: $.definitions.ManagedVirtualNetwork
transform: >
$['required'] = ['type'];
```

0 comments on commit 91c198e

Please sign in to comment.