From 05057fb8916ab90fd0c58af6b37d589f6cfe0075 Mon Sep 17 00:00:00 2001 From: George Barnett Date: Wed, 23 Apr 2025 17:41:40 +0100 Subject: [PATCH] Fix typo in docs --- .../Articles/Generating-stubs.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/Sources/GRPCProtobuf/Documentation.docc/Articles/Generating-stubs.md b/Sources/GRPCProtobuf/Documentation.docc/Articles/Generating-stubs.md index b02d414..991a55b 100644 --- a/Sources/GRPCProtobuf/Documentation.docc/Articles/Generating-stubs.md +++ b/Sources/GRPCProtobuf/Documentation.docc/Articles/Generating-stubs.md @@ -133,19 +133,19 @@ protoc \ #### Generator options -| Name | Possible Values | Default | Description | -|---------------------------|--------------------------------------------|------------|----------------------------------------------------------| -| `Visibility` | `Public`, `Package`, `Internal` | `Internal` | Access level for generated stubs | -| `Server` | `True`, `False` | `True` | Generate server stubs | -| `Client` | `True`, `False` | `True` | Generate client stubs | -| `FileNaming` | `FullPath`, `PathToUnderscore`, `DropPath` | `FullPath` | How generated source files should be named. (See below.) | -| `ProtoPathModuleMappings` | | | Path to module map `.asciipb` file. (See below.) | -| `UseAccessLevelOnImports` | `True`, `False` | `False` | Whether imports should have explicit access levels. | +| Name | Possible Values | Default | Description | +|---------------------------|---------------------------------------------|------------|----------------------------------------------------------| +| `Visibility` | `Public`, `Package`, `Internal` | `Internal` | Access level for generated stubs | +| `Server` | `True`, `False` | `True` | Generate server stubs | +| `Client` | `True`, `False` | `True` | Generate client stubs | +| `FileNaming` | `FullPath`, `PathToUnderscores`, `DropPath` | `FullPath` | How generated source files should be named. (See below.) | +| `ProtoPathModuleMappings` | | | Path to module map `.asciipb` file. (See below.) | +| `UseAccessLevelOnImports` | `True`, `False` | `False` | Whether imports should have explicit access levels. | The `FileNaming` option has three possible values, for an input of `foo/bar/baz.proto` the following output file will be generated: - `FullPath`: `foo/bar/baz.grpc.swift`. -- `PathToUnderscore`: `foo_bar_baz.grpc.swift` +- `PathToUnderscores`: `foo_bar_baz.grpc.swift` - `DropPath`: `baz.grpc.swift` The code generator assumes all inputs are generated into the same module, `ProtoPathModuleMappings`