[jira] [Commented] (GERONIMO-6661) OpenAPIMojo doesn't work with @Path annotation on interface

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (GERONIMO-6661) OpenAPIMojo doesn't work with @Path annotation on interface

JIRA jira@apache.org

    [ https://issues.apache.org/jira/browse/GERONIMO-6661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16711658#comment-16711658 ]

Romain Manni-Bucau commented on GERONIMO-6661:
----------------------------------------------

Hello Dennis

This is kind of expected since you should list the interface rather than the impl, no?

There is no discovery yet in the mojo and it expects the model to be provided as such.

> OpenAPIMojo doesn't work with @Path annotation on interface
> -----------------------------------------------------------
>
>                 Key: GERONIMO-6661
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-6661
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues)
>            Reporter: Dennis Kieselhorst
>            Priority: Minor
>
> Tried this class https://github.com/apache/cxf/blob/master/distribution/src/main/release/samples/jax_rs/spring_boot/src/main/java/sample/rs/service/hello1/HelloServiceImpl1.java with geronimo-openapi-impl 1.0.1. The @Path annotation from the interface is not taken into account and therefore results in an empty spec.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)