Getting swagger-docs to generate some (albeit a little wrong) API JSON specs