code: func (f *factoryImpl) OpenAPISchema() (openapi.Resources, error) {
  	discovery, err := f.clientGetter.ToDiscoveryClient()
  	if err != nil {
  		return nil, err
  	}
  
  	// Lazily initialize the OpenAPIGetter once
  	f.openAPIGetter.once.Do(func() {
  		// Create the caching OpenAPIGetter
  		f.openAPIGetter.getter = openapi.NewOpenAPIGetter(discovery)
  	})
  
  	// Delegate to the OpenAPIGetter
  	return f.openAPIGetter.getter.Get()
  }
docs: // OpenAPISchema returns metadata and structural information about Kubernetes object definitions.