Hi No this is not supported in the rest-dsl. You are welcome to log a JIRA ticket in the issue tracker about this http://camel.apache.org/support.html
However I am not sure, but maybe if you use swagger api annotations on pojo classes it has some exampler support. But in the rest-dsl from Camel, then there is no exampler. On Thu, Sep 28, 2017 at 8:53 PM, Patrick Carney <pcar...@redhat.com> wrote: > Hi, > > I'm using the camel-swagger-java component to auto-create the swagger json > and it appear in OpenAPI spec 3 there's a way to use an example value for > certain fields: https://swagger.io/docs/specification/adding-examples/ > > Does camel-swagger-java support spec 3? And is there a way to add these > examples to the object models/schemas? > > Thanks, > Patrick -- Claus Ibsen ----------------- http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2