From 9be89e56d6fadc7bc6b37457bfca532436f83b34 Mon Sep 17 00:00:00 2001 From: Fabien BERNARD Date: Tue, 30 Jul 2019 10:56:41 +0200 Subject: [PATCH] Fix openAPI generator --- src/scripts/import-open-api.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/import-open-api.ts b/src/scripts/import-open-api.ts index f47f44a1..b2f1913f 100644 --- a/src/scripts/import-open-api.ts +++ b/src/scripts/import-open-api.ts @@ -333,7 +333,7 @@ export const generateRestfulComponent = ( }` : `${needAResponseComponent ? componentName + "Response" : responseTypes}, ${ queryParamsType ? componentName + "QueryParams" : "void" - }`; + }, ${requestBodyTypes}`; let output = `${ needAResponseComponent