Update 'swagger.yaml'
Some checks reported errors
continuous-integration/drone/push Build was killed
Some checks reported errors
continuous-integration/drone/push Build was killed
update
This commit is contained in:
12
swagger.yaml
12
swagger.yaml
@@ -81,7 +81,7 @@ paths:
|
|||||||
type: knative-workflow
|
type: knative-workflow
|
||||||
x-direktiv-examples:
|
x-direktiv-examples:
|
||||||
# ADD MORE EXAMPLES HERE
|
# ADD MORE EXAMPLES HERE
|
||||||
- title: Basic
|
- title: Rely on Direktiv to create input file
|
||||||
content: |-
|
content: |-
|
||||||
- id: export-xlsx
|
- id: export-xlsx
|
||||||
type: action
|
type: action
|
||||||
@@ -94,6 +94,16 @@ paths:
|
|||||||
jq(.input)
|
jq(.input)
|
||||||
worksheet-name: "TestSpreadsheet"
|
worksheet-name: "TestSpreadsheet"
|
||||||
out-filename: example.xlsx
|
out-filename: example.xlsx
|
||||||
|
- title: Use function to create input file
|
||||||
|
content: |-
|
||||||
|
- id: export-xlsx
|
||||||
|
type: action
|
||||||
|
action:
|
||||||
|
function: export-xlsx
|
||||||
|
input:
|
||||||
|
worksheet-name: "TestSpreadsheet"
|
||||||
|
out-filename: example.xlsx
|
||||||
|
in-data: jq(.array | tostring)
|
||||||
x-direktiv-secrets:
|
x-direktiv-secrets:
|
||||||
- name: export-xlsxSecret
|
- name: export-xlsxSecret
|
||||||
description: This is a secret value
|
description: This is a secret value
|
||||||
|
Reference in New Issue
Block a user