From 46e12ebd2c40b05a60e73c0052e3f3424069f066 Mon Sep 17 00:00:00 2001 From: Weidong Xu Date: Thu, 9 Dec 2021 10:06:41 +0800 Subject: [PATCH] datafactory, clean directive after Dapeng --- .../datafactory/resource-manager/readme.java.md | 12 ------------ .../datafactory/resource-manager/readme.python.md | 12 ------------ 2 files changed, 24 deletions(-) diff --git a/specification/datafactory/resource-manager/readme.java.md b/specification/datafactory/resource-manager/readme.java.md index d472294a50c4..ce7c8f5845a8 100644 --- a/specification/datafactory/resource-manager/readme.java.md +++ b/specification/datafactory/resource-manager/readme.java.md @@ -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 diff --git a/specification/datafactory/resource-manager/readme.python.md b/specification/datafactory/resource-manager/readme.python.md index ebf756003427..739e19038f83 100644 --- a/specification/datafactory/resource-manager/readme.python.md +++ b/specification/datafactory/resource-manager/readme.python.md @@ -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']; ```