LookupEndpoint finds an endpoint by method and path, returning full detail.
func (
s *OpenAPISpec) LookupEndpoint(method,
path string) (*EndpointDetail,
error
)LookupEndpoint finds an endpoint by method and path, returning full detail. The path argument can be shorthand ("sessions") or absolute ("/api/v1/sessions").