rephrase sentence in changes-22_0_0.adoc for more clarity
Signed-off-by: zak905 <zakaria.amine88@gmail.com>
This commit is contained in:
parent
ff39a15221
commit
bcd423b270
1 changed files with 1 additions and 1 deletions
|
@ -334,7 +334,7 @@ If you are extending the server's REST APIs through the following SPIs:
|
|||
You need to add an empty `META-INF/beans.xml` to the JAR file where your custom providers are packaged. Otherwise, they are not recognized by the server
|
||||
at runtime.
|
||||
|
||||
If you are using `RealmResourceSPI` or `AdminRealmResourceSpi`, another alternative to adding an empty `beans.xml` under `META-INF` is annotating the JAX-RS resource classes with the annotation `jakarta.ws.rs.ext.Provider`.
|
||||
If you are using `RealmResourceSPI` or `AdminRealmResourceSpi`, you have the choice between adding an empty file named `beans.xml` under `META-INF` or annotating the JAX-RS resource classes with the `jakarta.ws.rs.ext.Provider` annotation.
|
||||
|
||||
You should also make sure your JAX-RS methods are declaring the expected media types for input and output by marking them with the `@Consumes` and `@Produces` annotations, respectively.
|
||||
|
||||
|
|
Loading…
Reference in a new issue