You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* add the missing $
* remove one useless directive
* fix
* remove the hack for track 2 and add comments for reasons
* add one of the directive back to readme.go.md
* add some comment to explain this more
* fix
Copy file name to clipboardExpand all lines: specification/compute/resource-manager/readme.go.md
+9-6Lines changed: 9 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,13 +2,14 @@
2
2
3
3
These settings apply only when `--go` is specified on the command line.
4
4
5
-
```yaml $(go) && !(track2)
5
+
```yaml $(go) && !$(track2)
6
6
go:
7
7
license-header: MICROSOFT_MIT_NO_VERSION
8
8
clear-output-folder: true
9
9
10
10
directive:
11
-
# dynamically add a DummyOrchestrationServiceName value to the enum
11
+
# dynamically add a DummyOrchestrationServiceName value to the enum and then remove it from the generated code to avoid the generator generates the code by hard-coding the single-entry enum value
12
+
# this directive adds a DummyOrchestrationServiceName to the enum type
12
13
- from: compute.json
13
14
where: $..enum
14
15
transform: >-
@@ -17,14 +18,15 @@ directive:
17
18
}
18
19
return $;
19
20
21
+
# this directive removes the DummyOrchestrationServiceName from the generated code, so that we still have only one enum entry in this enum type.
0 commit comments