Rebuild GraphQL api and Swagger UI code.

This commit is contained in:
2023-02-21 18:13:16 +01:00
parent 6c0d192662
commit 60437ce264
6 changed files with 108 additions and 81 deletions

View File

@@ -708,8 +708,7 @@
"example": 123000
},
"jobState": {
"description": "Final state of job",
"type": "string",
"description": "Final job state",
"enum": [
"completed",
"failed",
@@ -717,6 +716,11 @@
"stopped",
"timeout"
],
"allOf": [
{
"$ref": "#/definitions/schema.JobState"
}
],
"example": "completed"
},
"startTime": {
@@ -769,7 +773,6 @@
},
"jobState": {
"description": "Final state of job",
"type": "string",
"enum": [
"completed",
"failed",
@@ -778,6 +781,11 @@
"timeout",
"out_of_memory"
],
"allOf": [
{
"$ref": "#/definitions/schema.JobState"
}
],
"example": "completed"
},
"metaData": {
@@ -901,7 +909,6 @@
},
"jobState": {
"description": "Final state of job",
"type": "string",
"enum": [
"completed",
"failed",
@@ -910,6 +917,11 @@
"timeout",
"out_of_memory"
],
"allOf": [
{
"$ref": "#/definitions/schema.JobState"
}
],
"example": "completed"
},
"metaData": {
@@ -1004,6 +1016,29 @@
}
}
},
"schema.JobState": {
"type": "string",
"enum": [
"running",
"completed",
"failed",
"cancelled",
"stopped",
"timeout",
"preempted",
"out_of_memory"
],
"x-enum-varnames": [
"JobStateRunning",
"JobStateCompleted",
"JobStateFailed",
"JobStateCancelled",
"JobStateStopped",
"JobStateTimeout",
"JobStatePreempted",
"JobStateOutOfMemory"
]
},
"schema.JobStatistics": {
"description": "Specification for job metric statistics.",
"type": "object",