This might get done as part of moving to akka-http
org.scalatra scalatra-swagger was recently updated to 2.7.x, but will require code changes on our part.
The line in ExchangeApiSwagger.scala should be changed to:
class ExchangeApiSwagger extends Swagger(Swagger.SpecVersion, "1", ApiInfo("The Data Exchange API","Docs for the data exchange","https://termsofservice.bluehorizon.network/",ContactInfo("IBM","https://www.ibm.com",""),LicenseInfo("apache2","http://www.apache.org/licenses/LICENSE-2.0")))
This might get done as part of moving to akka-http
org.scalatra scalatra-swagger
was recently updated to 2.7.x, but will require code changes on our part.The line in ExchangeApiSwagger.scala should be changed to:
Restore the relevant line in
build.sbt
to:At that point there will be other swagger changes that are needed for each api method, which i haven't investigated yet.