@@ -136,14 +136,16 @@ public SwiftClientCodegen() {
136
136
"ErrorResponse" ,
137
137
138
138
// swift keywords
139
+ // https://docs.swift.org/swift-book/ReferenceManual/LexicalStructure.html Section: Keywords and Punctuation
139
140
"Int" , "Int32" , "Int64" , "Int64" , "Float" , "Double" , "Bool" , "Void" , "String" , "Character" , "AnyObject" ,
140
141
"class" , "Class" , "break" , "as" , "associativity" , "deinit" , "case" , "dynamicType" , "convenience" , "enum" , "continue" ,
141
142
"false" , "dynamic" , "extension" , "default" , "is" , "didSet" , "func" , "do" , "nil" , "final" , "import" , "else" ,
142
143
"self" , "get" , "init" , "fallthrough" , "Self" , "infix" , "internal" , "for" , "super" , "inout" , "let" , "if" ,
143
144
"true" , "lazy" , "operator" , "in" , "COLUMN" , "left" , "private" , "return" , "FILE" , "mutating" , "protocol" ,
144
145
"switch" , "FUNCTION" , "none" , "public" , "where" , "LINE" , "nonmutating" , "static" , "while" , "optional" ,
145
146
"struct" , "override" , "subscript" , "postfix" , "typealias" , "precedence" , "var" , "prefix" , "Protocol" ,
146
- "required" , "right" , "set" , "Type" , "unowned" , "weak" , "Data" )
147
+ "required" , "right" , "set" , "Type" , "unowned" , "weak" , "Data" ,"fileprivate" , "open" , "rethrows" , "defer" ,
148
+ "guard" , "repeat" , "Any" , "catch" , "throw" , "throws" , "try" , "indirect" , "willSet" )
147
149
);
148
150
149
151
typeMapping = new HashMap <String , String >();
0 commit comments