I think it fits well to geronimo. The question is rather if CXF is fine with relying on CDI for openapi? But since MicroProfile _requires_ CDI I think there is safe to assume so.
LieGrue, strub > Am 21.06.2018 um 09:59 schrieb Romain Manni-Bucau <[email protected]>: > > Hello guys, > > we created a repo for that and to be able to share what we do: > https://gitbox.apache.org/repos/asf?p=geronimo-openapi.git > > I pushed a basic starting structure of the code. The big TODO is the > conversion from the model (annotations) to OpenAPI instance (which should > be somewhere here > https://gitbox.apache.org/repos/asf?p=geronimo-openapi.git;a=blob;f=src/main/java/org/apache/geronimo/microprofile/openapi/impl/processor/AnnotationProcessor.java;h=141227b579495e2b072710fadb28f2d08ab07616;hb=HEAD > or split in multiple "visitors" if desired). > > If anyone wants to help it is welcomed. Also note it is not too late to > change the project hosting or other details if there is some points we > missed until now. > > Romain Manni-Bucau > @rmannibucau <https://twitter.com/rmannibucau> | Blog > <https://rmannibucau.metawerx.net/> | Old Blog > <http://rmannibucau.wordpress.com> | Github <https://github.com/rmannibucau> | > LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book > <https://www.packtpub.com/application-development/java-ee-8-high-performance> > > > Le mar. 19 juin 2018 à 07:39, Romain Manni-Bucau <[email protected]> a > écrit : > >> Basically read metadata from AnnotatedTypes (cdi) used by jaxrs cdi >> extension. Im not yet sure i will need the extension itself or not (doesnt >> seem hard to not use it for that and would stay portable). >> >> >> Le mar. 19 juin 2018 00:36, Andriy Redko <[email protected]> a écrit : >> >>> Hey Romain, >>> >>> Thanks for starting work on that. Indeed, >>> https://issues.apache.org/jira/browse/CXF-7601 is >>> opened but not started yet, sadly. So what is your plan / scope, generate >>> the OpenAPI 3.x >>> specs from JAX-RS 2.1 metadata? Or someting else? May be we could also >>> help you with that? >>> Thanks! >>> >>> Best Regards, >>> Andriy Redko >>> >>> RMB> Independent, cdi based (not reflection based) >>> >>> RMB> Le lun. 18 juin 2018 22:34, John D. Ament <[email protected]> a >>> écrit : >>> >>>>> If it's hosted at Geronimo will it be platform independent? Or only >>> work >>>>> with CXF? >>> >>>>> On Mon, Jun 18, 2018, 3:30 PM Romain Manni-Bucau < >>> [email protected]> >>>>> wrote: >>> >>>>>> Hi guys, >>>>>> >>>>>> I'm planning to implement microprofile-openapi at geronimo (next to >>> other >>>>>> microprofile specs) soon (probably beginning of next month). Before >>> doing >>>>>> so I wanted to get in touch with you to ensure it was not already >>> there >>>>>> (@asf). I know CXF has a swagger impl but here, we speak about a new >>> API >>>>>> and I hope to make it dep free and aligned on other geronimo impls >>>>>> (assuming jsonb+jaxrs+cdi is in the server already which is very >>>>> acceptable >>>>>> for a MP server). >>>>>> >>>>>> Anything I should check before launching the project or is the road >>> as >>>>> open >>>>>> as I think? >>>>>> >>>>>> Technical side note: compared to the MP rest client which was way >>> easier >>>>> to >>>>>> impl @cxf cause all the code was already there, the openapi is more >>> based >>>>>> on CDI than CXF internal model so not hosting it @cxf is not an >>> issue for >>>>>> this one so don't feel any pressure please. >>>>>> >>>>>> Thanks, >>>>>> Romain Manni-Bucau >>>>>> @rmannibucau <https://twitter.com/rmannibucau> | Blog >>>>>> <https://rmannibucau.metawerx.net/> | Old Blog >>>>>> <http://rmannibucau.wordpress.com> | Github < >>>>>> https://github.com/rmannibucau> | >>>>>> LinkedIn <https://www.linkedin.com/in/rmannibucau> | Book >>>>>> < >>>>>> >>>>> >>> https://www.packtpub.com/application-development/java-ee-8-high-performance >>>>>>> >>>>>> >>> >>> >>>
