@@ -133,19 +133,19 @@ protoc \
133133
134134#### Generator options
135135
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. |
144144
145145The ` FileNaming ` option has three possible values, for an input of ` foo/bar/baz.proto ` the following
146146output file will be generated:
147147- ` FullPath ` : ` foo/bar/baz.grpc.swift ` .
148- - ` PathToUnderscore ` : ` foo_bar_baz.grpc.swift `
148+ - ` PathToUnderscores ` : ` foo_bar_baz.grpc.swift `
149149- ` DropPath ` : ` baz.grpc.swift `
150150
151151The code generator assumes all inputs are generated into the same module, ` ProtoPathModuleMappings `
0 commit comments