From 061cea51a58b5a0a1060d02cb7ccb1693e79870e Mon Sep 17 00:00:00 2001 From: William Cheng Date: Tue, 12 Feb 2019 00:50:36 +0800 Subject: [PATCH] fix compilation error --- .../codegen/languages/TypeScriptAxiosClientCodegen.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/TypeScriptAxiosClientCodegen.java b/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/TypeScriptAxiosClientCodegen.java index c74eaee3a346..c65ef2fb9d4d 100644 --- a/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/TypeScriptAxiosClientCodegen.java +++ b/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/TypeScriptAxiosClientCodegen.java @@ -127,10 +127,10 @@ public String getTypeDeclaration(Schema p) { } @Override - public Map postProcessOperations(Map objs) { - objs = super.postProcessOperations(objs); - Map vals = (Map)objs.get("operations"); - List operations = (List)vals.get("operation"); + public Map postProcessOperationsWithModels(Map objs, List allModels) { + objs = super.postProcessOperationsWithModels(objs, allModels); + Map vals = (Map) objs.get("operations"); + List operations = (List) vals.get("operation"); /* Filter all the operations that are multipart/form-data operations and set the vendor extension flag 'multipartFormData' for the template to work with.