Skip to content

Commit 2ce52b6

Browse files
committed
update openapi-specs
1 parent 21cd8ae commit 2ce52b6

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

services/api-server/openapi.json

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8103,7 +8103,26 @@
81038103
"content": {
81048104
"application/json": {
81058105
"schema": {
8106-
"$ref": "#/components/schemas/TaskGet"
8106+
"oneOf": [
8107+
{
8108+
"$ref": "#/components/schemas/RegisteredProjectFunctionJob"
8109+
},
8110+
{
8111+
"$ref": "#/components/schemas/RegisteredPythonCodeFunctionJob"
8112+
},
8113+
{
8114+
"$ref": "#/components/schemas/RegisteredSolverFunctionJob"
8115+
}
8116+
],
8117+
"discriminator": {
8118+
"propertyName": "function_class",
8119+
"mapping": {
8120+
"PROJECT": "#/components/schemas/RegisteredProjectFunctionJob",
8121+
"PYTHON_CODE": "#/components/schemas/RegisteredPythonCodeFunctionJob",
8122+
"SOLVER": "#/components/schemas/RegisteredSolverFunctionJob"
8123+
}
8124+
},
8125+
"title": "Response Run Function V0 Functions Function Id Run Post"
81078126
}
81088127
}
81098128
}

0 commit comments

Comments
 (0)