OpenAPI client: model titles, run termination, Patient name and identifier

This commit is contained in:
Roberto Treviño
2026-11-29 12:39:07 -06:00
parent 52cca0a84c
commit 55c4e0b173
7 changed files with 163 additions and 3 deletions
+103 -1
View File
@@ -1173,6 +1173,24 @@
"title": "Metric",
"type": "object"
},
"Model": {
"properties": {
"name": {
"title": "Name",
"type": "string"
},
"title": {
"title": "Title",
"type": "string"
}
},
"required": [
"name",
"title"
],
"title": "Model",
"type": "object"
},
"Option": {
"additionalProperties": false,
"properties": {
@@ -3398,6 +3416,7 @@
},
"/models/{domain}": {
"get": {
"description": "The domain's registered models, with their names on screen.",
"operationId": "models",
"parameters": [
{
@@ -3415,7 +3434,7 @@
"application/json": {
"schema": {
"items": {
"type": "string"
"$ref": "#/components/schemas/Model"
},
"title": "Response Models",
"type": "array"
@@ -4263,6 +4282,53 @@
]
}
},
"/runs/{run_id}/terminate": {
"post": {
"description": "Stop a run (one started by mistake): Dagster cancels it.",
"operationId": "terminate_run",
"parameters": [
{
"in": "path",
"name": "run_id",
"required": true,
"schema": {
"title": "Run Id",
"type": "string"
}
}
],
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"additionalProperties": {
"type": "string"
},
"title": "Response Terminate Run",
"type": "object"
}
}
},
"description": "Successful Response"
},
"422": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
},
"description": "Validation Error"
}
},
"summary": "Terminate Run",
"tags": [
"runs"
]
}
},
"/tea/eegs": {
"get": {
"operationId": "studies",
@@ -5443,6 +5509,42 @@
"title": "Follow-Up-Status"
}
},
{
"description": "each word starts a word of her name (case and accents ignored)",
"in": "query",
"name": "name",
"required": false,
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "each word starts a word of her name (case and accents ignored)",
"title": "Name"
}
},
{
"description": "[system|]value: a CURP or record number (case ignored)",
"in": "query",
"name": "identifier",
"required": false,
"schema": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "[system|]value: a CURP or record number (case ignored)",
"title": "Identifier"
}
},
{
"description": "-recent or -risk-<outcome>",
"in": "query",