code: func (resp *Response) inherit(parent Response, dicts map[string]interface{}, rtName string,
  	apiDef *APIDefinition) {
  	resp.Description = substituteParams(resp.Description, parent.Description, dicts)
  	resp.Bodies.inherit(parent.Bodies, dicts, rtName, apiDef)
  	resp.Headers = inheritHeaders(resp.Headers, parent.Headers, dicts)
  }
docs: // inherit from parent response