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 21:09:57 GMT
Hi, will try to be there

cheers. Sergey
On 11/11/16 16:58, J. Fiala wrote:
> Hi Sergey,
>
> No problem, yes of course I can show the main points to you, would be
> great to get your opinion here, maybe we can spark some ideas into
> wadl2java eventually...
>
> If you like we can take this to the Apache BarCamp, I can be there in
> the morning?
>
> Best regards,
> Johannes
>
>
> Am 11.11.2016 um 17:09 schrieb Sergey Beryozkin:
>> Hi Johannes.
>>
>> You are doing something quite big there with Swagger CodeGen, thanks,
>> - unfortunately I'll miss next Friday presentations - but please show
>> you demo to me on Wed/Thursday, we'll find some time for sure
>>
>> Thanks, Sergey
>> On 11/11/16 16:05, J. Fiala wrote:
>>> Dear Sergey,
>>>
>>> Great, I added this for the next Swagger-Codegen release so Swagger-UI
>>> can be activated with CLI options:
>>>
>>> PR https://github.com/swagger-api/swagger-codegen/pull/4164
>>>
>>> Best regards,
>>> Johannes
>>>
>>>
>>> Am 11.11.2016 um 16:33 schrieb Sergey Beryozkin:
>>>> 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