Skip to content

Commit

Permalink
fix the directive to exclude changes for track 2 (Azure#15084)
Browse files Browse the repository at this point in the history
* fix the directive to exclude changes for track 2

* add model-deduplication

* fix
  • Loading branch information
ArcturusZhang authored Jul 6, 2021
1 parent c1b512f commit 15b8f52
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions specification/monitor/resource-manager/readme.go.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ directive:
where: "$.definitions.Resource"
transform: >
$["x-ms-client-name"] = "TrackedEntityResource";
modelerfour:
lenient-model-deduplication: true
```
### Go multi-api
Expand Down
2 changes: 1 addition & 1 deletion specification/monitor/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -759,7 +759,7 @@ directive:
```

``` yaml $(go) || $(csharp) || $(validation) || $(typescript)
``` yaml ($(go) && !$(track2)) || $(csharp) || $(validation) || $(typescript)
directive:
- from: activityLogAlerts_API.json
where: $.definitions
Expand Down

0 comments on commit 15b8f52

Please sign in to comment.