By default, this extension generates the methods according to their returning models based on the OpenAPI specification Schema Object. If no response model is defined, jakarta.ws.rs.core.Response is returned.
If you want to return jakarta.ws.rs.core.Response in all cases instead, you can set the return-response property to true.