Reviewing the swagger documentation specifically the annotations I did not find how to define the host and basePath properties. Any idea where to set them?
documentation consulted: Swagger-2.X---Annotations
Here is a json generated with the variables: petstore.swagger.io/v2/swagger.json