From b9c2152934cd8ea4938eb2d8a3de7905b9086285 Mon Sep 17 00:00:00 2001 From: Enda Phelan Date: Fri, 14 May 2021 11:55:46 +0100 Subject: [PATCH] fix: additional properties was not used --- dist/index.js | 2 +- src/main.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index 6ec70cb..12d7f32 100644 --- a/dist/index.js +++ b/dist/index.js @@ -73,7 +73,7 @@ function run() { } const additionalProperties = core.getInput('additional-properties'); if (additionalProperties) { - generateArgs.push('-p', config); + generateArgs.push('-p', additionalProperties); } yield exec.exec(openApiGenerator, generateArgs); } diff --git a/src/main.ts b/src/main.ts index 68caa7c..987cfbc 100644 --- a/src/main.ts +++ b/src/main.ts @@ -40,7 +40,7 @@ async function run(): Promise { } const additionalProperties = core.getInput('additional-properties'); if (additionalProperties) { - generateArgs.push('-p', config); + generateArgs.push('-p', additionalProperties); } await exec.exec(openApiGenerator, generateArgs);