Json Swagger API: use variable for host name

The Swagger definition file holds the url of the serving host. This
cannot be hard coded, as it will vary depends on the installation.
Instead of a full host name a variable is used in the server will
replace it according to the incoming request.

Signed-off-by: Amnon Heiman <amnon@cloudius-systems.com>