-
Notifications
You must be signed in to change notification settings - Fork 13
How to upgrade swagger libs
As requested from https://requirements-bazaar.org/projects/14/categories/14/requirements/1782 this page contains all information to upgrade the swagger libs shipped with las2peer.
- in restmapper/ivy.xml in line
<dependency org="io.swagger" name="swagger-jersey2-jaxrs" rev="1.5.12" />
replace rev="1.5.12" with the desired new version, like rev="2.0.0"
Don't forget to update the classpath!
- in webconnector/ivy.xml in line
<dependency org="org.webjars" name="swagger-ui" rev="3.6.1" />
replace rev="3.6.1" with the desired new version, like rev="3.7.0"
-
in webconnector/frontend/src/view-status.html check if the icon path is still valid
-
in webconnector/src/main/java/i5/las2peer/connectors/webConnector/handler/SwaggerUIHandler.java in line
String resourceName = "/META-INF/resources/webjars/swagger-ui/3.6.1/" + filename;
replace the version number with the upgraded version number.
Don't forget to update the classpath!
Copyright (c) 2020 Advanced Community Information Systems (ACIS) Group, Chair of Computer Science 5 (Databases & Information Systems), RWTH Aachen University, Germany