Add an optional parameter to let callers specify only a subset of endpoints for which to receive the spec
For example, I might pass a path prefix and retrieve the spec for endpoints under that path. That would allow, for example, getting the spec for just endpoints provided by a particular extension.