A bridge between a Java model, REST services and Typescript definition