Update openapi.json spec to include POST /runs endpoint. (#837)

This commit is contained in:
Andrew Nguonly
2024-06-26 11:29:58 -07:00
committed by GitHub
parent 86c556d01e
commit fb5f3c972a
@@ -1543,6 +1543,46 @@
}
}
},
"/runs": {
"post": {
"tags": [
"runs/create"
],
"summary": "Run Stateless",
"description": "Create a stateless run that will run in the background.",
"operationId": "run_stateless_runs_post",
"requestBody": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/RunCreate"
}
}
},
"required": true
},
"responses": {
"200": {
"description": "Successful Response",
"content": {
"application/json": {
"schema": {}
}
}
},
"422": {
"description": "Validation Error",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
}
}
}
}
},
"/runs/crons/{cron_id}": {
"delete": {
"tags": [