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