The jax-doclets are run by JavaDoc either as standalone or via ant.
Since the JAX-RS supports links to JAXB documentation, you should first run the JAXB doclet, then the JAX-RS doclet using the -link parameter.
-link
You can use the following command to run the JAXB doclet on your code:
Figure 2.1. Running the JAXB doclet
You can use the following command to run the JAX-RS doclet on your code:
Figure 2.2. Running the JAX-RS doclet