Skip to content

Commit 0a976c5

Browse files
1 parent e23f2fa commit 0a976c5

File tree

1 file changed

+12
-21
lines changed

1 file changed

+12
-21
lines changed

openapi/swagger.json

Lines changed: 12 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@
200200
},
201201
"jobID": {
202202
"type": "string",
203-
"description": "The ID of the job handling the table creation"
203+
"description": "The ID of the asynchronous job"
204204
}
205205
},
206206
"required": [
@@ -333,7 +333,8 @@
333333
"enum": [
334334
"true",
335335
"false"
336-
]
336+
],
337+
"description": "Allow asynchronous processing, which will return a job ID. Note that this does not force asynchronouys processing. The caller must handle both synchronous and asynchronous responses."
337338
},
338339
"required": false
339340
},
@@ -772,18 +773,6 @@
772773
}
773774
},
774775
"parameters": [
775-
{
776-
"name": "x-glide-asynchronous",
777-
"in": "header",
778-
"schema": {
779-
"type": "string",
780-
"enum": [
781-
"true",
782-
"false"
783-
]
784-
},
785-
"required": false
786-
},
787776
{
788777
"name": "appsToLink",
789778
"in": "query",
@@ -912,12 +901,13 @@
912901
"data": {
913902
"type": "object",
914903
"properties": {
915-
"workflowID": {
916-
"type": "string"
904+
"jobID": {
905+
"type": "string",
906+
"description": "The ID of the asynchronous job"
917907
}
918908
},
919909
"required": [
920-
"workflowID"
910+
"jobID"
921911
],
922912
"additionalProperties": false
923913
}
@@ -1116,7 +1106,8 @@
11161106
"enum": [
11171107
"true",
11181108
"false"
1119-
]
1109+
],
1110+
"description": "Allow asynchronous processing, which will return a job ID. Note that this does not force asynchronouys processing. The caller must handle both synchronous and asynchronous responses."
11201111
},
11211112
"required": false
11221113
},
@@ -2519,13 +2510,13 @@
25192510
"type": "string",
25202511
"enum": [
25212512
"running",
2522-
"completed",
2513+
"succeeded",
25232514
"failed"
25242515
],
25252516
"description": "The current status of the job"
25262517
},
25272518
"result": {
2528-
"description": "The result of the job, if it is completed"
2519+
"description": "The result of the job, if it `succeeded`"
25292520
},
25302521
"error": {
25312522
"type": "object",
@@ -2539,7 +2530,7 @@
25392530
"message"
25402531
],
25412532
"additionalProperties": false,
2542-
"description": "The error information, if the job failed"
2533+
"description": "The error information, if the job `failed`"
25432534
}
25442535
},
25452536
"required": [

0 commit comments

Comments
 (0)