From 15b8f52952714a8f947a932f4fc034e14af92629 Mon Sep 17 00:00:00 2001 From: Arcturus Date: Tue, 6 Jul 2021 12:11:44 +0800 Subject: [PATCH] fix the directive to exclude changes for track 2 (#15084) * fix the directive to exclude changes for track 2 * add model-deduplication * fix --- specification/monitor/resource-manager/readme.go.md | 3 +++ specification/monitor/resource-manager/readme.md | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/specification/monitor/resource-manager/readme.go.md b/specification/monitor/resource-manager/readme.go.md index 0b7fe3377f67..8feeda379f3e 100644 --- a/specification/monitor/resource-manager/readme.go.md +++ b/specification/monitor/resource-manager/readme.go.md @@ -21,6 +21,9 @@ directive: where: "$.definitions.Resource" transform: > $["x-ms-client-name"] = "TrackedEntityResource"; + +modelerfour: + lenient-model-deduplication: true ``` ### Go multi-api diff --git a/specification/monitor/resource-manager/readme.md b/specification/monitor/resource-manager/readme.md index 437e399c2529..064cdc336f0c 100644 --- a/specification/monitor/resource-manager/readme.md +++ b/specification/monitor/resource-manager/readme.md @@ -759,7 +759,7 @@ directive: ``` -``` yaml $(go) || $(csharp) || $(validation) || $(typescript) +``` yaml ($(go) && !$(track2)) || $(csharp) || $(validation) || $(typescript) directive: - from: activityLogAlerts_API.json where: $.definitions