Re: Camle-Swagger-Java- documenting optional param for REST Service

2016-02-03 Thread urwithsumit
Thanks Matt. It fixed the issue. -- View this message in context: http://camel.465427.n5.nabble.com/Camle-Swagger-Java-documenting-optional-param-for-REST-Service-tp5777172p5777194.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camle-Swagger-Java- documenting optional param for REST Service

2016-02-03 Thread Matt Sicker
Use required="false" in your param element. On 2 February 2016 at 17:59, urwithsumit wrote: > Hi, > > Currently while documenting the REST Service we are giving param name as > below: > > > > This marks the param as mandatory and when we are testing it with > swagger-ui > we are forced to give