From bceb78033c13b74d1efcdb6c78171fc323a8ad63 Mon Sep 17 00:00:00 2001 From: nathan Date: Fri, 10 Feb 2023 16:54:27 +1100 Subject: [PATCH] Update 'swagger.yaml' go back to old way of getting json data in --- swagger.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/swagger.yaml b/swagger.yaml index d2e40d7..cb01321 100644 --- a/swagger.yaml +++ b/swagger.yaml @@ -62,7 +62,9 @@ paths: infile: type: string description: Name of the json input file to utilise - #default: "/tmp/input.json" + in-data: + type: object + description: json input to convert to spreadsheet worksheet-name: type: string description: Label for the worksheet created in the spreadsheet @@ -106,7 +108,7 @@ paths: silent: false print: true - action: exec - exec: ls -la /tmp + exec: "/bin/bash -c \"echo '{{ .InData | toJson }}' > /tmp/input.json\"" silent: false print: true - action: exec