code: func (m *Method) inheritHeaders(parents map[HTTPHeader]Header, dicts map[string]interface{}) {
  	m.Headers = inheritHeaders(m.Headers, parents, dicts)
  }
docs: // inheritHeaders inherit method's headers from parent headers.
  // parent headers could be from resource type or a trait