Hi,

Currently while documenting the REST Service we are giving param name as
below:

<camel:param name="consumer_name" type="header" description="Consumer name
invoking the Service." dataType="string" />

This marks the param as mandatory and when we are testing it with swagger-ui
we are forced to give value for this param. 

I want to document this param as an optional param. How can this be
achieved?

Note: We are using Camel 2.16.1 and working with Camel-swagger-java
component.

Regards
Sumit



--
View this message in context: 
http://camel.465427.n5.nabble.com/Camle-Swagger-Java-documenting-optional-param-for-REST-Service-tp5777172.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to