I'm not sure how good / useful this is, but I was recently reading up on RAML, which is a YAML based language for describing REST APIs. You can combine that with this tool, osprey, to generate express router middleware from said RAML.
If you give it a go, let me know how well / un-well it worked, and whether that's what you were looking for?