Commit b32087bf authored by femiadeyemi's avatar femiadeyemi
Browse files

remove server property from the open-api configuration


The open-api for documenting cerebrum api allows setting the
server url property to the preferred url. In the initial state,
it was assumed that cerebrum will be served from localhost.
However, this is currently not the case, the application is
dockerised and can be served from different url than the assumed
one. Hence it is neccessary that we let the open-api generate
the server url.


Remove server property from the open-api configuration.


The doc server url is now autogenrated.

Target: master
parent e27d709d
......@@ -10,7 +10,6 @@ import;
import io.swagger.v3.oas.annotations.servers.Server;
info = @Info(
......@@ -25,10 +24,7 @@ import io.swagger.v3.oas.annotations.servers.Server;
name = "GNU Affero General Public License",
url = ""
servers = {
@Server(url = "http://localhost:8090", description = "DEV Server")
name = "hdf-aai",
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment