File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
java/org/commonwl/viewer/domain Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -320,6 +320,12 @@ private String extractTypes(JsonNode typeNode) {
320
320
321
321
// Set the type to the constructed string
322
322
return typeDetails .toString ();
323
+
324
+ } else if (typeNode .getClass () == ObjectNode .class ) {
325
+ // Type: array and items:
326
+ if (typeNode .has ("items" )) {
327
+ return typeNode .get ("items" ).asText () + "[]" ;
328
+ }
323
329
}
324
330
}
325
331
return null ;
Original file line number Diff line number Diff line change @@ -143,12 +143,14 @@ <h2>Outputs</h2>
143
143
< table class ="table table-striped ">
144
144
< thead >
145
145
< th > ID</ th >
146
+ < th > Type</ th >
146
147
< th > Label</ th >
147
148
< th > Doc</ th >
148
149
</ thead >
149
150
< tbody >
150
151
< tr th:each ="output : ${workflow.outputs} ">
151
152
< td th:text ="${output.key} "> ID</ td >
153
+ < td th:text ="${output.value.type} "> Type</ td >
152
154
< td th:text ="${output.value.label} "> Label</ td >
153
155
< td th:text ="${output.value.doc} "> Description</ td >
154
156
</ tr >
You can’t perform that action at this time.
0 commit comments