Skip to content

Commit 847c2ed

Browse files
authored
update readme
1 parent ee03afe commit 847c2ed

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ dependencies: [
5151

5252
You can compile IDL sources for Swift 3 with the following command:
5353

54-
thrift --gen swift_3 thrift_file
54+
thrift --gen swift thrift_file
5555

5656
## Client Example
5757
```swift
@@ -90,10 +90,11 @@ func write(_ val: String) throws
9090
#### Generator Flags
9191
| Flag | Description |
9292
| ------------- |:-------------:|
93-
| async_clients | Generate clients which invoke asynchronously via block syntax.Asynchronous classes are appended with `_Async` |
93+
| async_clients | Generate clients which invoke asynchronously via block syntax. Asynchronous classes are appended with `_Async` |
9494
| no_strict* | Generates non-strict structs |
9595
| debug_descriptions | Allow use of debugDescription so the app can add description via a cateogory/extension |
9696
| log_unexpected | Log every time an unexpected field ID or type is encountered. |
97+
| safe_enums | Generate enum types with an unknown case to handle unspecified values rather than throw a serialization error |
9798

9899

99100

0 commit comments

Comments
 (0)