Hi, Yes, I got it to work - this class
https://github.com/swagger-api/swagger-core/blob/master/modules/swagger-jaxrs2/src/main/java/io/swagger/v3/jaxrs2/integration/resources/BaseOpenApiResource.java provided by the swagger-core project was almost enough, I just had to add some DS and Whiteboard annotations and configuration. Take a look at the proof of concept here https://github.com/osx2000/finmath-service/blob/master/bundles/service/src/main/java/de/osx2000/finmath/service/OpenApiResource.java The project where I actually annotate other resources with OpenAPI isn’t in GitHub, don’t hesitate to ask if you have further questions. Best regards, Oliver > On 21. Nov 2019, at 10:44, Markus Rathgeb <maggu2...@gmail.com> wrote: > > Hi, > > I'm currently struggling with the same problem. > Oliver, did you already create some JAX-RS Whiteboard OpenAPI integration? > Timonthy, did you know about another one? > > I found the amdatu-web project and assume they provide an OpenAPI > generation for JAX-RS Whiteboard. I have not found time for a deeper > look into this yet, but it seems that the implementation depends on > their whiteboard implementation (at least the package imports look > like). > * https://amdatu.org/components/amdatu-web/ > * > https://bitbucket.org/amdatu/amdatu-web/src/master/org.amdatu.web.rest/src/org/amdatu/web/rest/ > > Best regards, > Markus > > Am Do., 21. Nov. 2019 um 10:34 Uhr schrieb Timothy Ward > <timothyjw...@apache.org>: >> >> Hi, >> >> To my knowledge nobody has done this in a reusable way yet, but if you're >> interested in doing so then adding it as a project in the integrations would >> be great! >> >> Tim >> >> >>> On 18 Jun 2019, at 13:07, Oliver Schweitzer <oschweit...@me.com> wrote: >>> >>> Hi, >>> >>> I'm successfully using the Jax-RS Whiteboard in Karat 4.2, however one of >>> the last missing puzzle pieces to complete component bliss is integration >>> of OpenAPI (Swagger 2) - so that annotated (sub) resources get published as >>> an API schema by a Jax-RS Resource. >>> >>> Here >>> https://github.com/swagger-api/swagger-core/wiki/Swagger-2.X---Integration-and-configuration >>> is a plethora of information on how to integrate OpenAPI into various >>> Jax-RS setups, and if I look at it long enough I'll probably work something >>> out for myself, but I'd like to know: >>> >>> Have some Aries Whiteboard users/devs done the integration >>> successfully/cleanly/easily? >>> What would be the most OSGi/Declarative Service-like ways to integrate >>> OpenAPI into the Whiteboard mechanism? >>> Would one of these ways be a candidate for a reference implementation here >>> https://github.com/apache/aries-jax-rs-whiteboard/tree/master/integrations ? >>> >>> Regards, >>> >>> Oliver >>