{"action":"created","issue":{"url":"https://api.github.com/repos/federecio/dropwizard-swagger/issues/32","labels_url":"https://api.github.com/repos/federecio/dropwizard-swagger/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/federecio/dropwizard-swagger/issues/32/comments","events_url":"https://api.github.com/repos/federecio/dropwizard-swagger/issues/32/events","html_url":"https://github.com/federecio/dropwizard-swagger/issues/32","id":57353916,"number":32,"title":"Unable to serve static assets when using this","user":{"login":"amitjindal","id":3275983,"avatar_url":"https://avatars.githubusercontent.com/u/3275983?v=3","gravatar_id":"","url":"https://api.github.com/users/amitjindal","html_url":"https://github.com/amitjindal","followers_url":"https://api.github.com/users/amitjindal/followers","following_url":"https://api.github.com/users/amitjindal/following{/other_user}","gists_url":"https://api.github.com/users/amitjindal/gists{/gist_id}","starred_url":"https://api.github.com/users/amitjindal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amitjindal/subscriptions","organizations_url":"https://api.github.com/users/amitjindal/orgs","repos_url":"https://api.github.com/users/amitjindal/repos","events_url":"https://api.github.com/users/amitjindal/events{/privacy}","received_events_url":"https://api.github.com/users/amitjindal/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-11T18:10:56Z","updated_at":"2015-02-20T02:30:29Z","closed_at":null,"body":"Hi, I am trying to use this package in a dropwizard application. However as soon as I use this the static assets stop working.\r\n```\r\npublic void initialize(Bootstrap<AppConfiguration> bootstrap) {\r\n        bootstrap.addBundle(new AssetsBundle(\"/assets/app/\", \"/\", \"index.html\"));\r\n        bootstrap.addBundle(hibernateBundle);\r\n        swaggerDropwizard.onInitialize(bootstrap);\r\n    }\r\n    public void run(AppConfiguration configuration,\r\n                    Environment environment) throws Exception {\r\n        this.configuration = configuration;\r\n        environment.jersey().setUrlPattern(\"/api/*\");\r\n        environment.jersey().register(new ProjectResource(\r\n            new ProjectDAO(hibernateBundle.getSessionFactory())));\r\n        //initData.init();\r\n        swaggerDropwizard.onRun(configuration, environment, \"localhost\");\r\n}\r\n```\r\nHere, if I comment the last line: `swaggerDropwizard.onRun(configuration, environment, \"localhost\");`\r\nthe index.html starts working. However if I leave it, then I get a 404 on root path.\r\nIs there a workaround for this?\r\n"},"comment":{"url":"https://api.github.com/repos/federecio/dropwizard-swagger/issues/comments/75180045","html_url":"https://github.com/federecio/dropwizard-swagger/issues/32#issuecomment-75180045","issue_url":"https://api.github.com/repos/federecio/dropwizard-swagger/issues/32","id":75180045,"user":{"login":"federecio","id":864669,"avatar_url":"https://avatars.githubusercontent.com/u/864669?v=3","gravatar_id":"","url":"https://api.github.com/users/federecio","html_url":"https://github.com/federecio","followers_url":"https://api.github.com/users/federecio/followers","following_url":"https://api.github.com/users/federecio/following{/other_user}","gists_url":"https://api.github.com/users/federecio/gists{/gist_id}","starred_url":"https://api.github.com/users/federecio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/federecio/subscriptions","organizations_url":"https://api.github.com/users/federecio/orgs","repos_url":"https://api.github.com/users/federecio/repos","events_url":"https://api.github.com/users/federecio/events{/privacy}","received_events_url":"https://api.github.com/users/federecio/received_events","type":"User","site_admin":false},"created_at":"2015-02-20T02:30:29Z","updated_at":"2015-02-20T02:30:29Z","body":"Amit, this scenario hasn't been tested. The fact that you are adding your own AssetsBundle might conflict with the AssetsBundle that's used to serve Swagger assets. \r\n\r\nI will look into it."}}