File tree 2 files changed +4
-2
lines changed
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,8 @@ An Apex configuration is YAML that defines which files are generated and by whic
19
19
<TabItem value = " apex" >
20
20
21
21
``` apexlang
22
+ namespace "apexlang.config.v1"
23
+
22
24
"The top level elements of the configuration."
23
25
type Configuration {
24
26
"The path to the apex specification file."
@@ -36,7 +38,7 @@ type Target {
36
38
"The name of the exported visitor class that generates the file contents."
37
39
visitorClass: string,
38
40
"When true, the file is only generated if it does not exist. This is useful for scafolded files."
39
- ifNotExists: boolean = false,
41
+ ifNotExists: bool = false,
40
42
"Target-level configuration (optional)."
41
43
config: {string: any}?
42
44
"Commands to execute that relate to this target (e.g., other code generation tools)."
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
17
17
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
18
18
```
19
19
20
- ## Adding Go API code generators
20
+ ## Add Go API code generators
21
21
22
22
Update ` apex.yaml ` with the contents below.
23
23
You can’t perform that action at this time.
0 commit comments