Skip to content

Commit 9087517

Browse files
Merge branch 'master' into improve-project-listing-db
2 parents e23333c + cc3dbbe commit 9087517

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

services/static-webserver/client/source/class/osparc/study/CreateFunction.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,16 @@ qx.Class.define("osparc.study.CreateFunction", {
4343
"schema_class": "application/schema+json",
4444
"schema_content": {
4545
"type": "object",
46-
"properties": {}
46+
"properties": {},
47+
"required": []
4748
}
4849
},
4950
"outputSchema": {
5051
"schema_class": "application/schema+json",
5152
"schema_content": {
5253
"type": "object",
53-
"properties": {}
54+
"properties": {},
55+
"required": []
5456
}
5557
},
5658
"defaultInputs": {},
@@ -66,6 +68,7 @@ qx.Class.define("osparc.study.CreateFunction", {
6668
functionData["inputSchema"]["schema_content"]["properties"][parameterLabel] = {
6769
"type": type,
6870
};
71+
functionData["inputSchema"]["schema_content"]["required"].push(parameterLabel);
6972
}
7073
} else {
7174
functionData["defaultInputs"][parameterLabel] = osparc.service.Utils.getParameterValue(parameter);
@@ -82,6 +85,7 @@ qx.Class.define("osparc.study.CreateFunction", {
8285
functionData["outputSchema"]["schema_content"]["properties"][probeLabel] = {
8386
"type": type,
8487
};
88+
functionData["outputSchema"]["schema_content"]["required"].push(probeLabel);
8589
}
8690
}
8791
});

0 commit comments

Comments
 (0)