Hack to get resource level param ids, storing locally rather than globally in swagger