fix python property name

This commit is contained in:
wing328
2016-04-20 22:12:09 +08:00
parent 56ac576a18
commit 8eb3f8a448
6 changed files with 33 additions and 3 deletions

View File

@@ -69,6 +69,8 @@ public class PythonClientCodegen extends DefaultCodegen implements CodegenConfig
// local variable name used in API methods (endpoints)
"all_params", "resource_path", "path_params", "query_params",
"header_params", "form_params", "local_var_files", "body_params", "auth_settings",
// @property
"property",
// python reserved words
"and", "del", "from", "not", "while", "as", "elif", "global", "or", "with",
"assert", "else", "if", "pass", "yield", "break", "except", "import",