cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sergey Beryozkin <sberyoz...@gmail.com>
Subject Re: Microservice multipe version support in single WAR-file / multiple Swagger2Feature-Beans
Date Sun, 20 Nov 2016 18:33:30 GMT
Hi

Have a look at a description_swagger2_web demo please

Cheers, Sergey
On 18/11/16 18:28, J. Fiala wrote:
> Dear Sergey,
>
> To implement multiple version support in one WAR file I'd need to have
> two Swagger2Feature-beans, one with resourcePackage-filtering for
> com.foo.myapp.v1 and another for com.foo.myapp.v2.
>
> (basically the idea is to support multiple versions at the server side
> but provide separate consistent contracts to the client so they don't
> have to worry which version to use).
>
> I defined two Swagger2Feature-Beans and they work if I activate them
> separately. However having two Swagger2Feature beans both will simply
> show everything without the resourcePackage-filtering working (the
> version attribute itself will display correctly).
>
> Maybe it makes sense to setup a separate sample for this, as
> breaking-api versioning problem has been addressed in a few talks
> @ApacheCon.
> I can provide the currently not working sample if you like for more
> analysis.
>
> Best regards,
> Johannes
>


-- 
Sergey Beryozkin

Talend Community Coders
http://coders.talend.com/

Mime
View raw message