generator generates specs for routes