File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
services/static-webserver/client/source/class/osparc/study Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff 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 } ) ;
You can’t perform that action at this time.
0 commit comments