code: func (r *ResponseDefinition) Merge(other *ResponseDefinition) {
  	if other == nil {
  		return
  	}
  	if r.Name == "" {
  		r.Name = other.Name
  	}
  	if r.Status == 0 {
  		r.Status = other.Status
  	}
  	if r.Description == "" {
  		r.Description = other.Description
  	}
  	if r.MediaType == "" {
  		r.MediaType = other.MediaType
  		r.ViewName = other.ViewName
  	}
  	if other.Headers != nil {
  		otherHeaders := other.Headers.Type.ToObject()
  		if len(otherHeaders) > 0 {
  			if r.Headers == nil {
  				r.Headers = &AttributeDefinition{Type: Object{}}
  			}
  			headers := r.Headers.Type.ToObject()
  			for n, h := range otherHeaders {
  				if _, ok := headers[n]; !ok {
  					headers[n] = h
  				}
  			}
  		}
  	}
  }
docs: // Merge merges other into target. Only the fields of target that are not already set are merged.