code: func getDefinition(name string) spec.Schema {
  	buildDefinitions.Do(buildDefinitionsFunc)
  	return definitions[name].Schema
  }
docs: // getDefinition gets definition for given Kubernetes type. This function is extracted from
  // kube-openapi builder logic