Skip to content

Commit

Permalink
cwl-input-schema implementation (#288)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
3 people authored Dec 20, 2024
1 parent a0440c8 commit 840097d
Show file tree
Hide file tree
Showing 12 changed files with 2,718 additions and 19 deletions.
8 changes: 8 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,14 @@ Expressions into separate steps in the manner of cwl-expression-refactor.
cwl-normalizer directory/path/to/save/outputs path_to_my_workflow.cwl [more_workflows.cwl]
Generate for Workflow Parameters from a CWL document
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

``cwl-inputs-schema-gen`` generates a JSON Schema for workflow input parameters from a CWL document.

.. code:: bash
cwl-inputs-schema-gen path_to_my_workflow.cwl
Using the CWL Parsers
~~~~~~~~~~~~~~~~~~~~~
Expand Down
Loading

0 comments on commit 840097d

Please sign in to comment.