Re: Camel REST DSL Swagger Documentation - setting scheme property

2018-01-22 Thread Richard James
, Jan 19, 2018 at 4:44 PM, Darius Cooper > wrote: > > > Have you tried: > > apiProperty("schemes","https") > > I have not tried it myself, but I see it in some sample code > > > > On Fri, Jan 19, 2018 at 3:57 AM, Richard James > > wrote: &

Camel REST DSL Swagger Documentation - setting scheme property

2018-01-19 Thread Richard James
appears as http in my swagger document. This is my REST config; restConfiguration().component("servlet") .apiContextPath("api-doc") .apiProperty("api.title", "Job REST API") .apiProperty("api.contact", "Richard James") .apiProperty(&q

Re: Camel REST Spring Boot Pojo Mandatory Json Properties

2017-12-12 Thread Richard James
lidate-request") > > If the validator annotations find a violation an exception will be thrown. > > -Steve > > > -Original Message- > > From: Richard James [mailto:richiejame...@gmail.com] > > Sent: Tuesday, December 12, 2017 1:19 PM > > To: users@c

Camel REST Spring Boot Pojo Mandatory Json Properties

2017-12-12 Thread Richard James
Hi, I am in the process of implementing a REST Api using Spring boot and Camel. This is up and running and works well. What I am currently trying to enforce are some mandatory properties within the POJO/JSON. I have attempted a number of different ways including using bean validator (@NotNull) as