code: func (f *PrintFlags) UseOpenAPIColumns(api openapi.Resources, mapping *meta.RESTMapping) error {
  	// Found openapi metadata for this resource
  	schema := api.LookupResource(mapping.GroupVersionKind)
  	if schema == nil {
  		// Schema not found, return empty columns
  		return nil
  	}
  
  	columns, found := openapi.GetPrintColumns(schema.GetExtensions())
  	if !found {
  		// Extension not found, return empty columns
  		return nil
  	}
  
  	parts := strings.SplitN(columns, "=", 2)
  	if len(parts) < 2 {
  		return nil
  	}
  
  	allowMissingKeys := true
  	f.OutputFormat = &parts[0]
  	f.TemplateFlags.TemplateArgument = &parts[1]
  	f.TemplateFlags.AllowMissingKeys = &allowMissingKeys
  	return nil
  }
docs: // UseOpenAPIColumns modifies the output format, as well as the
  // "allowMissingKeys" option for template printers, to values
  // defined in the OpenAPI schema of a resource.