You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2014/11/21 15:52:34 UTC

[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-tabpanel&focusedCommentId=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)