{"action":"created","issue":{"url":"https://api.github.com/repos/area515/Creation-Workshop-Host/issues/192","repository_url":"https://api.github.com/repos/area515/Creation-Workshop-Host","labels_url":"https://api.github.com/repos/area515/Creation-Workshop-Host/issues/192/labels{/name}","comments_url":"https://api.github.com/repos/area515/Creation-Workshop-Host/issues/192/comments","events_url":"https://api.github.com/repos/area515/Creation-Workshop-Host/issues/192/events","html_url":"https://github.com/area515/Creation-Workshop-Host/issues/192","id":144144961,"number":192,"title":"Swaggerize API","user":{"login":"WesGilster","id":2424628,"avatar_url":"https://avatars.githubusercontent.com/u/2424628?v=3","gravatar_id":"","url":"https://api.github.com/users/WesGilster","html_url":"https://github.com/WesGilster","followers_url":"https://api.github.com/users/WesGilster/followers","following_url":"https://api.github.com/users/WesGilster/following{/other_user}","gists_url":"https://api.github.com/users/WesGilster/gists{/gist_id}","starred_url":"https://api.github.com/users/WesGilster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WesGilster/subscriptions","organizations_url":"https://api.github.com/users/WesGilster/orgs","repos_url":"https://api.github.com/users/WesGilster/repos","events_url":"https://api.github.com/users/WesGilster/events{/privacy}","received_events_url":"https://api.github.com/users/WesGilster/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-03-29T03:23:23Z","updated_at":"2016-03-30T00:11:17Z","closed_at":null,"body":"I've started adding the annotations to our API. Putting documentation generation aside, one question we have to figure out is if we want swagger UI permanently available from within Photonic3D? Here is an example of swagger UI:\r\nhttp://jmchung.github.io/blog/2013/12/14/integrating-swagger-into-jax-rs-with-java-ee-6-specification/\r\n\r\nIf we want to keep our dependencies to a minimum, then we just need to add:\r\n`swagger-annotations-1.5.3-M1.jar`\r\nto our regular build and then swagger ui won't be available from our web content.\r\n\r\nThat means we'll need a whole new build, or instead(what I suggest), is that we can make Swagger UI available from within our existing testkit build. Then we'll add all of the rest of the jars into this build, we'll need to somehow know when CWH was start.sh'd in testkit mode so that I know when I need to add the following resources to our ApplicationConfig:\r\n```\r\n        resources.add(com.wordnik.swagger.jaxrs.listing.ApiListingResource.class);\r\n        resources.add(com.wordnik.swagger.jaxrs.listing.ApiDeclarationProvider.class);\r\n        resources.add(com.wordnik.swagger.jaxrs.listing.ApiListingResourceJSON.class);\r\n        resources.add(com.wordnik.swagger.jaxrs.listing.ResourceListingProvider.class);\r\n```\r\n\r\n\r\nas this doc describes:\r\nhttp://jmchung.github.io/blog/2013/12/14/integrating-swagger-into-jax-rs-with-java-ee-6-specification/\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/area515/Creation-Workshop-Host/issues/comments/203165335","html_url":"https://github.com/area515/Creation-Workshop-Host/issues/192#issuecomment-203165335","issue_url":"https://api.github.com/repos/area515/Creation-Workshop-Host/issues/192","id":203165335,"user":{"login":"WesGilster","id":2424628,"avatar_url":"https://avatars.githubusercontent.com/u/2424628?v=3","gravatar_id":"","url":"https://api.github.com/users/WesGilster","html_url":"https://github.com/WesGilster","followers_url":"https://api.github.com/users/WesGilster/followers","following_url":"https://api.github.com/users/WesGilster/following{/other_user}","gists_url":"https://api.github.com/users/WesGilster/gists{/gist_id}","starred_url":"https://api.github.com/users/WesGilster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WesGilster/subscriptions","organizations_url":"https://api.github.com/users/WesGilster/orgs","repos_url":"https://api.github.com/users/WesGilster/repos","events_url":"https://api.github.com/users/WesGilster/events{/privacy}","received_events_url":"https://api.github.com/users/WesGilster/received_events","type":"User","site_admin":false},"created_at":"2016-03-30T00:11:17Z","updated_at":"2016-03-30T00:11:17Z","body":"@jmkao \r\nCool whatever you can utilize...\r\n\r\n@ergobot \r\nI didn't realize you made a whole new repo for that, I thought it was just going to be a branch PR."}}