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

generate API documentation #24

Closed
carueda opened this issue Aug 15, 2016 · 1 comment
Closed

generate API documentation #24

carueda opened this issue Aug 15, 2016 · 1 comment

Comments

@carueda
Copy link
Member

carueda commented Aug 15, 2016

That is, automatically from the code.

Currently, this is generated pseudo-manually by editing a file with http://editor.swagger.io/, and using the swagger.yaml as a basis for actual documentation sites using swagger-ui. Those sites are linked from http://mmisw.org/orrdoc/api/

Although the manual editing of the specification is OK in general (in fact, actually very flexible), this task is about eventually automating the generation of the specification from code. Although there are mechanisms for this, the currently used relevant scalatra libraries would first have to be updated for this automatic generation; unfortunately such upgrades are not trivial at all (previous attempts to do so proved to be very tricky in terms of other dependent libraries that haven't been updated to more recent versions of underlying scalatra libraries.)

Consider this a low-priority task for the time being.

@carueda carueda self-assigned this Aug 15, 2016
@carueda carueda added this to the AGU-Dec2016 milestone Oct 21, 2016
@carueda carueda removed this from the AGU-Dec2016 milestone Oct 27, 2016
@carueda
Copy link
Member Author

carueda commented Feb 4, 2017

The use of the external editing of the api documentation has in fact proved to good enough. Decided to close this one.

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

No branches or pull requests

1 participant