Skip to content

Commit 840097d

Browse files
alexiswlsuecharo
andauthored
cwl-input-schema implementation (#288)
* Add inputs_schema_gen impl. * Add test for cwl-inputs-schema-gen * Added complex types to inputs schema gen * Use default definitions * Collect slim definition schema * Use Any as having any properties * Add passing and expected failing tests * Use type objects to generate schemas * Recurse through record schema objects Remove unused imports Fix test input urls Conformance tests should be their own header in input schema gen readme Also move part headers to secondary header and added toc Re-trigger CICD github actions testing * Add missing type hints to utils, * removed duplicate type entries in parser, * fixed test function docs --------- Co-authored-by: suecharo <[email protected]> Co-authored-by: alexiswl <[email protected]>
1 parent a0440c8 commit 840097d

12 files changed

+2718
-19
lines changed

README.rst

+8
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,14 @@ Expressions into separate steps in the manner of cwl-expression-refactor.
118118
119119
cwl-normalizer directory/path/to/save/outputs path_to_my_workflow.cwl [more_workflows.cwl]
120120
121+
Generate for Workflow Parameters from a CWL document
122+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
123+
124+
``cwl-inputs-schema-gen`` generates a JSON Schema for workflow input parameters from a CWL document.
125+
126+
.. code:: bash
127+
128+
cwl-inputs-schema-gen path_to_my_workflow.cwl
121129
122130
Using the CWL Parsers
123131
~~~~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)