fixed swagger functionality where path includes Id variables