type NotFoundError … func (e *NotFoundError) Error() string { … } type Downloader … // NewDownloader creates a new OpenAPI Downloader. func NewDownloader() Downloader { … } func (s *Downloader) handlerWithUser(handler http.Handler, info user.Info) http.Handler { … } // OpenAPIV3Root downloads the OpenAPI V3 root document from an APIService func (s *Downloader) OpenAPIV3Root(handler http.Handler) (*handler3.OpenAPIV3Discovery, int, error) { … }