Escape model name in Java okhttp-gson client

This commit is contained in:
xhh
2016-04-19 20:29:49 +08:00
parent f10d4c8e23
commit a3f57d6cbd
12 changed files with 37 additions and 29 deletions

View File

@@ -61,6 +61,7 @@ public class JavaClientCodegen extends DefaultCodegen implements CodegenConfig {
"localVarPath", "localVarQueryParams", "localVarHeaderParams", "localVarFormParams",
"localVarPostBody", "localVarAccepts", "localVarAccept", "localVarContentTypes",
"localVarContentType", "localVarAuthNames", "localReturnType",
"ApiClient", "ApiException", "ApiResponse", "Configuration", "StringUtil",
// language reserved words
"abstract", "continue", "for", "new", "switch", "assert",