code: func (r *ResourceDefinition) IterateHeaders(it HeaderIterator) error {
  	return iterateHeaders(r.Headers, r.Headers.IsRequired, it)
  }
docs: // IterateHeaders calls the given iterator passing in each response sorted in alphabetical order.
  // Iteration stops if an iterator returns an error and in this case IterateHeaders returns that
  // error.