You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tested/dsl/schema-strict.json
+41-5Lines changed: 41 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -276,11 +276,18 @@
276
276
},
277
277
"stdin" : {
278
278
"description" : "Stdin for this context",
279
-
"type" : [
280
-
"string",
281
-
"number",
282
-
"integer",
283
-
"boolean"
279
+
"oneOf" : [
280
+
{
281
+
"type" : [
282
+
"string",
283
+
"number",
284
+
"integer",
285
+
"boolean"
286
+
]
287
+
},
288
+
{
289
+
"$ref": "#/definitions/fileData"
290
+
}
284
291
]
285
292
},
286
293
"arguments" : {
@@ -890,6 +897,35 @@
890
897
"$ref" : "#/definitions/fileConfigurationOptions"
891
898
}
892
899
}
900
+
},
901
+
"fileData": {
902
+
"type": "object",
903
+
"additionalProperties" : false,
904
+
"anyOf" : [
905
+
{
906
+
"required" : [
907
+
"content"
908
+
]
909
+
},
910
+
{
911
+
"required" : [
912
+
"path"
913
+
]
914
+
}
915
+
],
916
+
"properties": {
917
+
"content": {
918
+
"type": [
919
+
"string",
920
+
"path"
921
+
],
922
+
"description" : "Content of the file, which will be provided inline or written to disk in the workdir. If a !path, the file contents will be read from the provided path."
923
+
},
924
+
"path": {
925
+
"type": "string",
926
+
"description" : "Path to the file, relative to the workdir. Used to display in the output."
Copy file name to clipboardExpand all lines: tested/dsl/schema.json
+38-5Lines changed: 38 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -276,11 +276,18 @@
276
276
},
277
277
"stdin" : {
278
278
"description" : "Stdin for this context",
279
-
"type" : [
280
-
"string",
281
-
"number",
282
-
"integer",
283
-
"boolean"
279
+
"oneOf" : [
280
+
{
281
+
"type" : [
282
+
"string",
283
+
"number",
284
+
"integer",
285
+
"boolean"
286
+
]
287
+
},
288
+
{
289
+
"$ref": "#/definitions/fileData"
290
+
}
284
291
]
285
292
},
286
293
"arguments" : {
@@ -884,6 +891,32 @@
884
891
"$ref" : "#/definitions/fileConfigurationOptions"
885
892
}
886
893
}
894
+
},
895
+
"fileData": {
896
+
"type": "object",
897
+
"additionalProperties" : false,
898
+
"anyOf" : [
899
+
{
900
+
"required" : [
901
+
"content"
902
+
]
903
+
},
904
+
{
905
+
"required" : [
906
+
"path"
907
+
]
908
+
}
909
+
],
910
+
"properties": {
911
+
"content": {
912
+
"type": "string",
913
+
"description" : "Content of the file, which will be provided inline or written to disk in the workdir. If a !path, the file contents will be read from the provided path."
914
+
},
915
+
"path": {
916
+
"type": "string",
917
+
"description" : "Path to the file, relative to the workdir. Used to display in the output."
0 commit comments