fix 'groupRestResources' restriction
facets for parent resource need to be added before the resource method is constructed
trying out changing the swagger directory
mixed up the attributes of the swagger and php module