Closed dotasek closed 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.
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.