{"action":"created","issue":{"url":"https://api.github.com/repos/springfox/springfox/issues/764","labels_url":"https://api.github.com/repos/springfox/springfox/issues/764/labels{/name}","comments_url":"https://api.github.com/repos/springfox/springfox/issues/764/comments","events_url":"https://api.github.com/repos/springfox/springfox/issues/764/events","html_url":"https://github.com/springfox/springfox/issues/764","id":82213243,"number":764,"title":"Multiple Dockets with different host names","user":{"login":"gakat2012","id":12462841,"avatar_url":"https://avatars.githubusercontent.com/u/12462841?v=3","gravatar_id":"","url":"https://api.github.com/users/gakat2012","html_url":"https://github.com/gakat2012","followers_url":"https://api.github.com/users/gakat2012/followers","following_url":"https://api.github.com/users/gakat2012/following{/other_user}","gists_url":"https://api.github.com/users/gakat2012/gists{/gist_id}","starred_url":"https://api.github.com/users/gakat2012/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gakat2012/subscriptions","organizations_url":"https://api.github.com/users/gakat2012/orgs","repos_url":"https://api.github.com/users/gakat2012/repos","events_url":"https://api.github.com/users/gakat2012/events{/privacy}","received_events_url":"https://api.github.com/users/gakat2012/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-05-29T02:02:40Z","updated_at":"2015-09-11T14:09:06Z","closed_at":"2015-06-04T01:22:41Z","body":"Is there a way to configure the hostname specific to each group (Docket)\r\nFor eg. 1) http://api-internal.com/service which uses basic auth 2) https://api.com/service uses oauth\r\n\r\nCurrently we can configure only one url via properties \"springfox.documentation.swagger.v2.host\". The swagger2Controller reads only this value.  How can i override this value based on different Docket"},"comment":{"url":"https://api.github.com/repos/springfox/springfox/issues/comments/139556856","html_url":"https://github.com/springfox/springfox/issues/764#issuecomment-139556856","issue_url":"https://api.github.com/repos/springfox/springfox/issues/764","id":139556856,"user":{"login":"cbornet","id":11633333,"avatar_url":"https://avatars.githubusercontent.com/u/11633333?v=3","gravatar_id":"","url":"https://api.github.com/users/cbornet","html_url":"https://github.com/cbornet","followers_url":"https://api.github.com/users/cbornet/followers","following_url":"https://api.github.com/users/cbornet/following{/other_user}","gists_url":"https://api.github.com/users/cbornet/gists{/gist_id}","starred_url":"https://api.github.com/users/cbornet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbornet/subscriptions","organizations_url":"https://api.github.com/users/cbornet/orgs","repos_url":"https://api.github.com/users/cbornet/repos","events_url":"https://api.github.com/users/cbornet/events{/privacy}","received_events_url":"https://api.github.com/users/cbornet/received_events","type":"User","site_admin":false},"created_at":"2015-09-11T14:09:06Z","updated_at":"2015-09-11T14:09:06Z","body":"But what if I want to send the spec by mail or use it to generate client code, static doc, ... ?\r\nAlso, it seems that by default springfox renders \"host\" : \"http://localhost:8080\" whereas per your comment it would probably be preferable to not render the \"host\" field at all."}}