bespin-api uses cwltool library as part of loading a workflow. This ties bespin-api to a particular version of cwltool. The logic involved with parsing the workflow to build a methods document uses cwltool.
This has resulted in two issues Duke-GCB/bespin-api#154, Duke-GCB/bespin-api#153.
If we could move this logic out it would simplify bespin-api by not being tied to a particular and usually outdated version of cwltool.