Hi Johannes
On 11/11/16 14:58, Johannes Fiala wrote:
Hi there,
http://cxf.apache.org/docs/swagger2feature.html
1.) I found a minor bug in the docs when trying the Swagger-UI feature:
The flag supportSwaggerUi is present in the Swagger2Feature.java in CXF
3.1.7, but not writable with a setter. This is the case starting with
CXF 3.1.8.
Current:
"In CXF 3.1.7: set Swagger2Feature 'supportSwaggerUi' property to
'false' to disable to automatic UI activation described in the previous
section"
So the correct version would be 3.1.8:
"In CXF 3.1.8: set Swagger2Feature 'supportSwaggerUi' property to
'false' to disable to automatic UI activation described in the previous
section"
Thanks, I fixed it
2.) Is it possible to change the default path "/services" of
cxf-spring-boot-starter-jaxrs?
It would be great to be able to set it to "/", so people can access the
start page with the default http://localhost:8080.
See how you can customize:
https://github.com/apache/cxf/blob/master/distribution/src/main/release/samples/jax_rs/spring_boot_scan/application/src/main/resources/application.yml#L6
Cheers, SErgey
Best regards,
Johannes