camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Willem Jiang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-8745) Swagger requires context name with quotes
Date Wed, 06 May 2015 06:58:00 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-8745?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14530043#comment-14530043
] 

Willem Jiang commented on CAMEL-8745:
-------------------------------------

We just need to take off the quotes when looking up the camel id from the ObjectName.

> Swagger requires context name with quotes 
> ------------------------------------------
>
>                 Key: CAMEL-8745
>                 URL: https://issues.apache.org/jira/browse/CAMEL-8745
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-swagger
>    Affects Versions: 2.15.1
>            Reporter: Thomas Diesler
>            Assignee: Willem Jiang
>
> {code}
>     <servlet>
>         <servlet-name>ApiDeclarationServlet</servlet-name>
>         <servlet-class>org.apache.camel.component.swagger.DefaultCamelSwaggerServlet</servlet-class>
>         <init-param>
>             <param-name>base.path</param-name>
>             <param-value>rest</param-value>
>         </init-param>
>         <init-param>
>             <param-name>api.path</param-name>
>             <param-value>api-docs</param-value>
>         </init-param>
>         <init-param>
>             <param-name>api.version</param-name>
>             <param-value>1.2.3</param-value>
>         </init-param>
>         <init-param>
>             <param-name>api.title</param-name>
>             <param-value>User Services</param-value>
>         </init-param>
>         <init-param>
>             <param-name>api.description</param-name>
>             <param-value>Camel Rest Example with Swagger that provides an User
REST service</param-value>
>         </init-param>
>         <init-param>
>             <param-name>camelId</param-name>
>             <param-value>"swagger-test"</param-value>
>         </init-param>
>         <load-on-startup>2</load-on-startup>
>     </servlet>
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message