Generator for jax-rs rest api