You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I create an application with an @ApplicationPath and I register it with MicroProfile Server as follows:
Server server = Server.builder()
.port(7001)
.applications(new JaxRsApplicationNoCdi())
When I run the server with Jandex index, everything works fine.
When I run the server without Jandex index, the application path is ignored, and the output prints the resource methods on / instead of the actual application path defined by the annotation.
Works fine in both cases for applications discovered by CDI.
The text was updated successfully, but these errors were encountered:
tomas-langer
changed the title
OpenAPI ignores methods without Path annotation
OpenAPI without jandex index ignores application path annotation on explicit apps.
Mar 19, 2020
When I create an application with an
@ApplicationPath
and I register it with MicroProfileServer
as follows:When I run the server with Jandex index, everything works fine.
When I run the server without Jandex index, the application path is ignored, and the output prints the resource methods on
/
instead of the actual application path defined by the annotation.Works fine in both cases for applications discovered by CDI.
The text was updated successfully, but these errors were encountered: