code: func (m *Method) inheritFromResourceType(r *Resource, rtm *Method, rt *ResourceType, apiDef *APIDefinition) {
  	if rtm == nil {
  		return
  	}
  	dicts := initResourceTypeDicts(r, r.Type.Parameters)
  
  	// inherit description
  	m.Description = substituteParams(m.Description, rtm.Description, dicts)
  
  	// inherit display name
  	m.DisplayName = substituteParams(m.DisplayName, rtm.DisplayName, dicts)
  
  	// inherit bodies
  	m.Bodies.inherit(rtm.Bodies, dicts, m.resourceTypeName, apiDef)
  
  	// inherit headers
  	m.inheritHeaders(rtm.Headers, dicts)
  
  	// inherit query params
  	m.inheritQueryParams(rtm.QueryParameters, dicts)
  
  	// inherit response
  	m.inheritResponses(rtm.Responses, dicts, apiDef)
  
  	// inherit protocols
  	m.inheritProtocols(rtm.Protocols)
  }
docs: // inherit from resource type
  // fields need to be inherited:
  // - description
  // - response