yeah, this seems wrong, because an `api` doesn't have a `method`, it has an array of `operations` that have `method`s. I think the findWhere should just be looking for `path`