RE: Second issue with simple rest application on TomEE 9.1.2

2024-04-03 Thread COURTAULT Francois
To: users@tomee.apache.org Subject: Re: Second issue with simple rest application on TomEE 9.1.2 Hello Francois, One thing I noticed when switching to microprofile is that openapi became more strict and wouldn't document resources unless they have a @Produces and @Consumes at class level. So I

Re: Second issue with simple rest application on TomEE 9.1.2

2024-04-02 Thread Kean Erickson
Hello Francois, One thing I noticed when switching to microprofile is that openapi became more strict and wouldn't document resources unless they have a @Produces and @Consumes at class level. So I set json as the default for both on each of those classes, and override where needed. @Produces(Med

Second issue with simple rest application on TomEE 9.1.2

2024-04-02 Thread COURTAULT Francois
THALES GROUP LIMITED DISTRIBUTION to email recipients Hello everyone, Context: TomEE 9.1.2 micro-profile flavor. I have raised an issue in another POST (Some issues with simple rest application). This time: * I add a new class which extends Application. @ApplicationPath("myapp") public c