Generation des classes Rest