code: func (d *DefinitionNamer) GetDefinitionName(name string) (string, spec.Extensions) {
  	if groupVersionKinds, ok := d.typeGroupVersionKinds[name]; ok {
  		return friendlyName(name), spec.Extensions{
  			extensionGVK: groupVersionKinds.JSON(),
  		}
  	}
  	return friendlyName(name), nil
  }
docs: // GetDefinitionName returns the name and tags for a given definition