Generate correct swagger path patterns
Generate correct swagger path patterns

ids.py needs to correspond to the logic in
flask_swagger.py. This could be a bit fragile...

Closes #130

yunity/yunity-core,yunity/foodsaving-backend,yunity/foodsaving-backend,yunity/foodsaving-backend,yunity/yunity-core