enabled https

This commit is contained in:
Tony Tam 2015-10-20 21:25:21 -07:00
parent 7f5cdba606
commit 568a7be994

View File

@ -49,6 +49,8 @@ public class Bootstrap extends HttpServlet {
bc.setVersion("0.0.0"); bc.setVersion("0.0.0");
} }
} }
bc.setSchemes(new String[]{"https"});
bc.setHost("generator.swagger.io"); bc.setHost("generator.swagger.io");
bc.setLicenseUrl("http://www.apache.org/licenses/LICENSE-2.0.html"); bc.setLicenseUrl("http://www.apache.org/licenses/LICENSE-2.0.html");
bc.setResourcePackage("io.swagger.generator.resource"); bc.setResourcePackage("io.swagger.generator.resource");