code: func (gm serverMethod) ReqBodyNeedValidation() bool {
  	// we can't use t.GetBuiltinType here because
  	// the reqBody type is already in Go type
  	getBuiltinType := func() string {
  		switch {
  		case strings.HasPrefix(gm.reqBody, "[][]"): // bidimensional array
  			return strings.TrimPrefix(gm.reqBody, "[][]")
  		case strings.HasPrefix(gm.reqBody, "[]"): // array
  			return strings.TrimPrefix(gm.reqBody, "[]")
  		default:
  			return gm.reqBody
  		}
  	}
  	t := raml.Type{
  		Type: getBuiltinType(),
  	}
  
  	return !t.IsBuiltin()
  }
docs: // true if req body need validation code