Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

datafactory, clean directive #17016

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
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'];
```