cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sergey Beryozkin <sberyoz...@gmail.com>
Subject Re: Swagger2Feature - Enabling Swagger UI / Spring Boot CXF starter default path
Date Fri, 11 Nov 2016 15:33:55 GMT
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


Mime
View raw message