diff --git a/swagger.yaml b/swagger.yaml index 4205222..d2e40d7 100644 --- a/swagger.yaml +++ b/swagger.yaml @@ -108,7 +108,11 @@ paths: - action: exec exec: ls -la /tmp silent: false - print: true + print: true + - action: exec + exec: find / -name '*.json' + silent: false + print: true - action: exec exec: /bin/json2excel -inputJson {{- if eq (deref .Infile) "" }} "/tmp/input.json" {{- else }} {{ .Infile }} {{- end }} input.json -worksheetName "{{ .WorksheetName }}" -outputFilename '{{ .OutFilename }}' silent: false @@ -117,7 +121,7 @@ paths: exec: base64 -w 0 /tmp/{{ .OutFilename }} output: | { - "export-excel": {{ (index . 4).result | toJson }} + "export-excel": {{ (index . 5).result | toJson }} } x-direktiv-errors: io.direktiv.command.error: Command execution failed