File tree Expand file tree Collapse file tree
otoroshi/app/next/workflow Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,19 +13,26 @@ object WorkflowGenerators {
1313 Json .obj(
1414 " name" -> node.documentationName,
1515 " description" -> node.documentationDescription,
16- " schema" -> node.documentationInputSchema
16+ " schema" -> node.documentationInputSchema,
17+ " example" -> node.documentationExample
1718 )
1819 }.toSeq),
1920 " functions" -> JsArray (WorkflowFunction .functions.map {
2021 case (key, value) =>
2122 Json .obj(
2223 " name" -> key,
24+ " description" -> value.documentationDescription,
25+ " schema" -> value.documentationInputSchema,
26+ " example" -> value.documentationExample
2327 )
2428 }.toSeq),
2529 " operators" -> JsArray (WorkflowOperator .operators.map {
2630 case (key, value) =>
2731 Json .obj(
2832 " name" -> key,
33+ " description" -> value.documentationDescription,
34+ " schema" -> value.documentationInputSchema,
35+ " example" -> value.documentationExample
2936 )
3037 }.toSeq),
3138 )
You can’t perform that action at this time.
0 commit comments