Open nielsdrost opened 7 years ago
Using Spring it is relatively easy to handle dynamic API's:
Spring only handles dynamic url, not the dynamic type of the request/response.
To make a swagger api you need to extend the io.swagger.models.Swagger object with submit/retrieve operations translated from the CWL input/output bindings.
You would also need to add endpoints to the web server (jetty) that correspond to those swagger endpoints. For exampe in molviewer webservice I register my own resources.
We should auto generate the swagger api from the CWL files.