Open andre-doherty opened 11 months ago
Hi @andre-doherty
Currently, the JAX-RS spec does not mandate support for more than 1 JAX-RS application per war file. This is going to change in 4.0 (EE11).
See https://github.com/jakartaee/rest/issues/1158
Review support for Application subclasses: zero or more? zero or one?
Hi @andre-doherty, #16628 added support to the OpenAPI UI for the case where there are multiple WAR modules deployed (either separately or in a single EAR). It does not cover the case where there are multiple jax-rs Applications in a single WAR.
Multiple jax-rs Applications within a single WAR is not currently supported. If multiple Applications are required, the solution is it to put each in its own WAR.
Hello @gcharters, @WhiteCat22
Thank you both for the precision. Hopefully multiple applications contract generation will be supported in ee11. Regards, André
Hello,
Regarding this issue : https://github.com/OpenLiberty/open-liberty/issues/16628 It looks like multiple instances of JaxRS applications in a single web application are supported. I mean by that :
Is that correct ?
If that assumption is correct, the behavior i am meeting is not OK :
i am relying on jakarta ee 10 and mpOpenAPI-3.0
André