If path can be regexp, we'll probably want to compare `api.path.toString() === spec.path.toString()`.

Although, is this where the "duplicate resource" problem is? Can we simply ignore duplicates or maybe warn on them?