code: func (r *ResponseDefinition) Validate() *dslengine.ValidationErrors {
  	verr := new(dslengine.ValidationErrors)
  	if r.Headers != nil {
  		verr.Merge(r.Headers.Validate("response headers", r))
  	}
  	if r.Status == 0 {
  		verr.Add(r, "response status not defined")
  	}
  	return verr.AsError()
  }
docs: // Validate checks that the response definition is consistent: its status is set and the media
  // type definition if any is valid.