See the following comment on the invokable methods CDI PR for context: https://github.com/jakartaee/cdi/pull/639#issuecomment-1599011489 Feedback on that issue with respect to requirements that the REST specification has would be useful.