ah crap, forgot to set swagger.api.basepath in web.xml, urgently must
add dynamic basepath stuff