Thanks!
2017-01-17 17:08 GMT+04:00 Francesco Chicchiriccò <ilgro...@apache.org>: > On 17-jan-17, at 13:44, Vjacheslav V. Borisov slav...@gmail.com wrote: > > > Hi! > > > > Playing with > > https://github.com/apache/cxf/tree/master/distribution/src/ > main/release/samples/jax_rs/spring_boot > > > > Added Javadoc to method sayHello > > > > /** > > * sayHello doc > > * @param a the a param > > * @return > > */ > > public String sayHello(String a) { > > return "Hello2 " + a + ", Welcome to CXF RS Spring Boot World!!!"; > > } > > > > And do not see this documentation in swagger.json / api-docs > > > > Is javadoc parsing not implemented in swagger.json generation, or i am > > missing some switch? > > The DefaultSwagger2Serializers class requires a JavadocProvider in order > to be able to extract info from Javadocs; use one the methods [1] to > configure. > > HTH > Regards. > > [1] https://github.com/apache/cxf/blob/3.1.x-fixes/rt/rs/ > description-swagger/src/main/java/org/apache/cxf/jaxrs/swagger/ > DefaultSwagger2Serializers.java#L198-L217 > > -- > Francesco Chicchiriccò > > Tirasa - Open Source Excellence > http://www.tirasa.net/ > > Member at The Apache Software Foundation > Syncope, Cocoon, Olingo, CXF, OpenJPA, PonyMail > http://home.apache.org/~ilgrosso/ >