@@ -133,19 +133,19 @@ protoc \
133
133
134
134
#### Generator options
135
135
136
- | Name | Possible Values | Default | Description |
137
- | ---------------------------| --------------------------------------------| ------------| ----------------------------------------------------------|
138
- | ` Visibility ` | ` Public ` , ` Package ` , ` Internal ` | ` Internal ` | Access level for generated stubs |
139
- | ` Server ` | ` True ` , ` False ` | ` True ` | Generate server stubs |
140
- | ` Client ` | ` True ` , ` False ` | ` True ` | Generate client stubs |
141
- | ` FileNaming ` | ` FullPath ` , ` PathToUnderscore ` , ` DropPath ` | ` FullPath ` | How generated source files should be named. (See below.) |
142
- | ` ProtoPathModuleMappings ` | | | Path to module map ` .asciipb ` file. (See below.) |
143
- | ` UseAccessLevelOnImports ` | ` True ` , ` False ` | ` False ` | Whether imports should have explicit access levels. |
136
+ | Name | Possible Values | Default | Description |
137
+ | ---------------------------| --------------------------------------------- | ------------| ----------------------------------------------------------|
138
+ | ` Visibility ` | ` Public ` , ` Package ` , ` Internal ` | ` Internal ` | Access level for generated stubs |
139
+ | ` Server ` | ` True ` , ` False ` | ` True ` | Generate server stubs |
140
+ | ` Client ` | ` True ` , ` False ` | ` True ` | Generate client stubs |
141
+ | ` FileNaming ` | ` FullPath ` , ` PathToUnderscores ` , ` DropPath ` | ` FullPath ` | How generated source files should be named. (See below.) |
142
+ | ` ProtoPathModuleMappings ` | | | Path to module map ` .asciipb ` file. (See below.) |
143
+ | ` UseAccessLevelOnImports ` | ` True ` , ` False ` | ` False ` | Whether imports should have explicit access levels. |
144
144
145
145
The ` FileNaming ` option has three possible values, for an input of ` foo/bar/baz.proto ` the following
146
146
output file will be generated:
147
147
- ` FullPath ` : ` foo/bar/baz.grpc.swift ` .
148
- - ` PathToUnderscore ` : ` foo_bar_baz.grpc.swift `
148
+ - ` PathToUnderscores ` : ` foo_bar_baz.grpc.swift `
149
149
- ` DropPath ` : ` baz.grpc.swift `
150
150
151
151
The code generator assumes all inputs are generated into the same module, ` ProtoPathModuleMappings `
0 commit comments