forked from loafle/openapi-generator-original
[Swift4] Add throw to reserved words (#6952)
* * Added `throw` to Swift4 Reserved words. * * Regenerating Swift4 Petstore project
This commit is contained in:
committed by
William Cheng
parent
4e482eef17
commit
970de01bdf
@@ -150,7 +150,7 @@ public class Swift4Codegen extends DefaultCodegen implements CodegenConfig {
|
||||
"FILE", "mutating", "protocol", "switch", "FUNCTION", "none", "public",
|
||||
"where", "LINE", "nonmutating", "static", "while", "optional", "struct",
|
||||
"override", "subscript", "postfix", "typealias", "precedence", "var",
|
||||
"prefix", "Protocol", "required", "right", "set", "Type", "unowned", "weak",
|
||||
"prefix", "Protocol", "required", "right", "set", "throw", "Type", "unowned", "weak",
|
||||
"Data", "Codable", "Encodable", "Decodable")
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user