update reserved word list for swift3 (#5348)

This commit is contained in:
wing328
2017-04-07 08:36:02 +08:00
committed by GitHub
parent a7652d508d
commit 4aaf3ab353

View File

@@ -102,7 +102,7 @@ public class Swift3Codegen extends DefaultCodegen implements CodegenConfig {
reservedWords = new HashSet<>(
Arrays.asList(
// name used by swift client
"ErrorResponse",
"ErrorResponse", "Response",
// swift keywords
"Int", "Int32", "Int64", "Int64", "Float", "Double", "Bool", "Void", "String", "Character", "AnyObject", "Any", "Error", "URL",