From a27312ff73ac3925ff20ead55504bf9b474b97b1 Mon Sep 17 00:00:00 2001 From: "Zhenbiao Wei (WICRESOFT NORTH AMERICA LTD)" Date: Fri, 22 Jul 2022 14:47:52 +0800 Subject: [PATCH 1/2] update securityinsights readme.python --- .../securityinsights/resource-manager/readme.python.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/specification/securityinsights/resource-manager/readme.python.md b/specification/securityinsights/resource-manager/readme.python.md index 270ac81d79fc..f69787ec62ec 100644 --- a/specification/securityinsights/resource-manager/readme.python.md +++ b/specification/securityinsights/resource-manager/readme.python.md @@ -17,3 +17,11 @@ clear-output-folder: true no-namespace-folders: true output-folder: $(python-sdks-folder)/securityinsight/azure-mgmt-securityinsight/azure/mgmt/securityinsight ``` + +``` +directive: + - from: swagger-document + where: $.definitions.IncidentOwnerInfo.properties.ownerType + transform: > + $['x-ms-enum']['name'] = 'ownerTypeEnum'; +``` From dd310d477e8c829309f5d41c8cd1215e7b2ed187 Mon Sep 17 00:00:00 2001 From: zhenbiao wei <424401670@qq.com> Date: Fri, 22 Jul 2022 15:21:00 +0800 Subject: [PATCH 2/2] Update readme.python.md --- .../securityinsights/resource-manager/readme.python.md | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/specification/securityinsights/resource-manager/readme.python.md b/specification/securityinsights/resource-manager/readme.python.md index f69787ec62ec..d59d8a851501 100644 --- a/specification/securityinsights/resource-manager/readme.python.md +++ b/specification/securityinsights/resource-manager/readme.python.md @@ -11,17 +11,11 @@ namespace: azure.mgmt.securityinsight package-name: azure-mgmt-securityinsight package-version: 1.0.0b1 clear-output-folder: true +modelerfour: + lenient-model-deduplication: true ``` ``` yaml $(python) no-namespace-folders: true output-folder: $(python-sdks-folder)/securityinsight/azure-mgmt-securityinsight/azure/mgmt/securityinsight ``` - -``` -directive: - - from: swagger-document - where: $.definitions.IncidentOwnerInfo.properties.ownerType - transform: > - $['x-ms-enum']['name'] = 'ownerTypeEnum'; -```