Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto generate swapper api from CWL files #9

Open
nielsdrost opened this issue May 11, 2017 · 2 comments
Open

Auto generate swapper api from CWL files #9

nielsdrost opened this issue May 11, 2017 · 2 comments

Comments

@nielsdrost
Copy link
Collaborator

We should auto generate the swagger api from the CWL files.

@nielsdrost
Copy link
Collaborator Author

@sverhoeven
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants