Skip to content

Commit

Permalink
[ADF] Java Mgmt, discriminator property must be required (Azure#15405)
Browse files Browse the repository at this point in the history
  • Loading branch information
weidongxu-microsoft authored Jul 28, 2021
1 parent 70de9e4 commit eaae6d9
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions specification/datafactory/resource-manager/readme.java.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,16 @@ payload-flattening-threshold: 1
output-folder: $(azure-libraries-for-java-folder)/azure-mgmt-datafactory

directive:
- from: swagger-document
- from: ManagedPrivateEndpoint.json
where: "$.definitions.ManagedPrivateEndpoint"
transform: delete $.discriminator
- from: swagger-document
- 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

0 comments on commit eaae6d9

Please sign in to comment.