Hi

Yeah we should output the resolved values. I logged a ticket
https://issues.apache.org/jira/browse/CAMEL-9687

On Tue, Mar 8, 2016 at 11:35 AM, fabrizio.spataro
<fabrizio.spat...@bizmate.it> wrote:
> Hello.
>
> There is a bug into swagger JSON file.
>
> I am using follow rest DSL (xml) with camel-2.16.3-SNAPSHOT
>
> <rest path="{{rest.root.path}}">
>        ...
> </rest>
>
> Output Swagger JSON:
>
> {
>   "swagger" : "2.0",
>   "info" : {
>     "version" : "1.0.0",
>     "title" : "MY API"
>   },
>   "host" : "0.0.0.0:8080",
>   "tags" : [ {
>     "name" : "{{rest.root.path}}"
>   } ],
>   "schemes" : [ "http" ],
>   "paths" : {
>     "{{rest.root.path}}/users" : {
>       "get" : {
>         "tags" : [ "{{rest.root.path}}" ],
>         "produces" : [ "application/json" ],
>         ...
>         ....
>         .....
>
>
>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/camel-swagger-java-not-parse-property-tp5778734.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2

Reply via email to