{"action":"created","issue":{"url":"https://api.github.com/repos/springfox/springfox/issues/1204","repository_url":"https://api.github.com/repos/springfox/springfox","labels_url":"https://api.github.com/repos/springfox/springfox/issues/1204/labels{/name}","comments_url":"https://api.github.com/repos/springfox/springfox/issues/1204/comments","events_url":"https://api.github.com/repos/springfox/springfox/issues/1204/events","html_url":"https://github.com/springfox/springfox/issues/1204","id":138386410,"number":1204,"title":"Help Needed: Swagger aggregation example application","user":{"login":"varghgeorge","id":16730490,"avatar_url":"https://avatars.githubusercontent.com/u/16730490?v=3","gravatar_id":"","url":"https://api.github.com/users/varghgeorge","html_url":"https://github.com/varghgeorge","followers_url":"https://api.github.com/users/varghgeorge/followers","following_url":"https://api.github.com/users/varghgeorge/following{/other_user}","gists_url":"https://api.github.com/users/varghgeorge/gists{/gist_id}","starred_url":"https://api.github.com/users/varghgeorge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/varghgeorge/subscriptions","organizations_url":"https://api.github.com/users/varghgeorge/orgs","repos_url":"https://api.github.com/users/varghgeorge/repos","events_url":"https://api.github.com/users/varghgeorge/events{/privacy}","received_events_url":"https://api.github.com/users/varghgeorge/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/springfox/springfox/labels/question","name":"question","color":"006b75"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/springfox/springfox/milestones/36","html_url":"https://github.com/springfox/springfox/milestones/2.5.0","labels_url":"https://api.github.com/repos/springfox/springfox/milestones/36/labels","id":1480753,"number":36,"title":"2.5.0","description":"","creator":{"login":"dilipkrish","id":73257,"avatar_url":"https://avatars.githubusercontent.com/u/73257?v=3","gravatar_id":"","url":"https://api.github.com/users/dilipkrish","html_url":"https://github.com/dilipkrish","followers_url":"https://api.github.com/users/dilipkrish/followers","following_url":"https://api.github.com/users/dilipkrish/following{/other_user}","gists_url":"https://api.github.com/users/dilipkrish/gists{/gist_id}","starred_url":"https://api.github.com/users/dilipkrish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dilipkrish/subscriptions","organizations_url":"https://api.github.com/users/dilipkrish/orgs","repos_url":"https://api.github.com/users/dilipkrish/repos","events_url":"https://api.github.com/users/dilipkrish/events{/privacy}","received_events_url":"https://api.github.com/users/dilipkrish/received_events","type":"User","site_admin":false},"open_issues":24,"closed_issues":3,"state":"open","created_at":"2016-01-03T01:45:14Z","updated_at":"2016-03-08T18:31:59Z","due_on":"2016-06-01T05:00:00Z","closed_at":null},"comments":3,"created_at":"2016-03-04T05:58:12Z","updated_at":"2016-03-08T19:05:31Z","closed_at":"2016-03-08T18:31:59Z","body":"Aggregating documentation from multiple services is a very important feature. Even though I was able to find different suggestions/discussions, couldn't find a good example which anyone interested can follow easily. \r\n\r\nI have posted the sample application here:\r\nhttps://github.com/varghgeorge/swagger-single\r\n\r\nBut, the controller is not being picked up (based on the logs) and I am not able to see the additional services. Can you please take a look at the repo?\r\n\r\nPlease let me know if there is already an example repo of it with Spring boot.\r\n\r\nIf I add @EnableSwagger2, it throws (not picking up the new controller I created) \r\nCaused by: org.springframework.context.annotation.ConflictingBeanDefinitionException: Annotation-specified bean name 'apiResourceController' for bean class [springfox.documentation.swagger.web.ApiResourceController] conflicts with existing, non-compatible bean definition of same name and class [doc.ApiResourceController]\r\n\r\nWithout @EnableSwagger2:\r\nCaused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [springfox.documentation.swagger.web.SwaggerResourcesProvider] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {}\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/springfox/springfox/issues/comments/193918821","html_url":"https://github.com/springfox/springfox/issues/1204#issuecomment-193918821","issue_url":"https://api.github.com/repos/springfox/springfox/issues/1204","id":193918821,"user":{"login":"dilipkrish","id":73257,"avatar_url":"https://avatars.githubusercontent.com/u/73257?v=3","gravatar_id":"","url":"https://api.github.com/users/dilipkrish","html_url":"https://github.com/dilipkrish","followers_url":"https://api.github.com/users/dilipkrish/followers","following_url":"https://api.github.com/users/dilipkrish/following{/other_user}","gists_url":"https://api.github.com/users/dilipkrish/gists{/gist_id}","starred_url":"https://api.github.com/users/dilipkrish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dilipkrish/subscriptions","organizations_url":"https://api.github.com/users/dilipkrish/orgs","repos_url":"https://api.github.com/users/dilipkrish/repos","events_url":"https://api.github.com/users/dilipkrish/events{/privacy}","received_events_url":"https://api.github.com/users/dilipkrish/received_events","type":"User","site_admin":false},"created_at":"2016-03-08T19:05:31Z","updated_at":"2016-03-08T19:05:31Z","body":"@varghgeorge The sample repo would be really useful. Please do share the link."}}