[jira] [Commented] (CAMEL-8066) Add swagger ui to the camel swagger rest example
[ https://issues.apache.org/jira/browse/CAMEL-8066?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14223202#comment-14223202 ] Charles Moulliard commented on CAMEL-8066: -- Project has been updated to avoid to include into the src/main/webapp all the swagger-ui resources. 3 plugins have been added to the project : - Step 1. - Download Swagger UI project from GitHub - Step 2. - Decompress content and move it to target/swagger-ui folder - Step 3. - Copy Web Resources to target/classes but also to target/swagger-ui - Step 4. Add Swagger-ui Resources to the WAR Add swagger ui to the camel swagger rest example Key: CAMEL-8066 URL: https://issues.apache.org/jira/browse/CAMEL-8066 Project: Camel Issue Type: Improvement Components: examples Affects Versions: 2.14.0 Reporter: Charles Moulliard Assignee: Charles Moulliard Fix For: 2.15.0 The example camel-example-servlet-rest-tomcat uses the camel swagger component to register the swagger servlet able to discover and generates json files for the REST service. The goal of this improvement is to add the swagger-ui resources (html, css, js, ...) to allow the user to discover the operations of the REST services and play with them. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (CAMEL-8066) Add swagger ui to the camel swagger rest example
[ https://issues.apache.org/jira/browse/CAMEL-8066?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14221900#comment-14221900 ] Claus Ibsen commented on CAMEL-8066: Yeah the web JAR can be a good idea then its part of the build and not a bunch of js files. And therefore a better practice and much less for us to maintain. Add swagger ui to the camel swagger rest example Key: CAMEL-8066 URL: https://issues.apache.org/jira/browse/CAMEL-8066 Project: Camel Issue Type: Improvement Components: examples Affects Versions: 2.14.0 Reporter: Charles Moulliard Assignee: Charles Moulliard Fix For: 2.15.0 The example camel-example-servlet-rest-tomcat uses the camel swagger component to register the swagger servlet able to discover and generates json files for the REST service. The goal of this improvement is to add the swagger-ui resources (html, css, js, ...) to allow the user to discover the operations of the REST services and play with them. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (CAMEL-8066) Add swagger ui to the camel swagger rest example
[ https://issues.apache.org/jira/browse/CAMEL-8066?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14221902#comment-14221902 ] Charles Moulliard commented on CAMEL-8066: -- I will have a look monday to include the JAR generated from swagger-ui github repository. This could be achieved with 2 maven plugin and some ant tasks to unzip the content into the webapp directory Add swagger ui to the camel swagger rest example Key: CAMEL-8066 URL: https://issues.apache.org/jira/browse/CAMEL-8066 Project: Camel Issue Type: Improvement Components: examples Affects Versions: 2.14.0 Reporter: Charles Moulliard Assignee: Charles Moulliard Fix For: 2.15.0 The example camel-example-servlet-rest-tomcat uses the camel swagger component to register the swagger servlet able to discover and generates json files for the REST service. The goal of this improvement is to add the swagger-ui resources (html, css, js, ...) to allow the user to discover the operations of the REST services and play with them. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (CAMEL-8066) Add swagger ui to the camel swagger rest example
[ https://issues.apache.org/jira/browse/CAMEL-8066?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14220994#comment-14220994 ] Claus Ibsen commented on CAMEL-8066: Charles, is all that javascript code you added, are you sure they are in compliance with ASF licesning? I am not really fond of copying a bunch of javascript code we do not maintain into an example. Instead people should run swagger ui external, and connect to the example as that is what it can do. I am in fact favor of removing the code you added and point people into that other direction. Though anyone have any other thoughts or comments? Add swagger ui to the camel swagger rest example Key: CAMEL-8066 URL: https://issues.apache.org/jira/browse/CAMEL-8066 Project: Camel Issue Type: Improvement Components: examples Affects Versions: 2.14.0 Reporter: Charles Moulliard Assignee: Charles Moulliard Fix For: 2.15.0 The example camel-example-servlet-rest-tomcat uses the camel swagger component to register the swagger servlet able to discover and generates json files for the REST service. The goal of this improvement is to add the swagger-ui resources (html, css, js, ...) to allow the user to discover the operations of the REST services and play with them. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (CAMEL-8066) Add swagger ui to the camel swagger rest example
[ https://issues.apache.org/jira/browse/CAMEL-8066?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14221295#comment-14221295 ] Preben Asmussen commented on CAMEL-8066: Or maybe use swagger-ui as a web-jar http://mvnrepository.com/artifact/org.webjars/swagger-ui/2.0.12. that is Apache Licensed https://github.com/swagger-api/swagger-ui/blob/master/LICENSE. But still the js etc in the jar has a mix. of different licenses. Add swagger ui to the camel swagger rest example Key: CAMEL-8066 URL: https://issues.apache.org/jira/browse/CAMEL-8066 Project: Camel Issue Type: Improvement Components: examples Affects Versions: 2.14.0 Reporter: Charles Moulliard Assignee: Charles Moulliard Fix For: 2.15.0 The example camel-example-servlet-rest-tomcat uses the camel swagger component to register the swagger servlet able to discover and generates json files for the REST service. The goal of this improvement is to add the swagger-ui resources (html, css, js, ...) to allow the user to discover the operations of the REST services and play with them. -- This message was sent by Atlassian JIRA (v6.3.4#6332)