cytoscape / cyREST

Core App: REST API module for Cytoscape
https://github.com/cytoscape/cyREST/wiki
MIT License
30 stars 13 forks source link

Update JavaDoc links to point to Cytoscape version #43

Closed dotasek closed 6 years ago

dotasek commented 6 years ago

The Swagger UI links to only the Cytoscape 3.6.0 API JavaDoc. This is OK, but to prevent having to update links with every release, this should programmatically point to the version of the Cytoscape API that CyREST is currently running on.

dotasek commented 6 years ago

Added this to CyRESTConstants. It's not an ideal solution. I wanted it to come from the bundle headers, but they are unavailable to Java at compile time, so we're stuck setting the Java API in two locations.

A way to at least test this within the code would be to get the Cytoscape API header during bundle activation and test it against the CyRESTConstants value.