docs: func (s *CodeGenEdge) Validate() error {
  	invalidParams := request.ErrInvalidParams{Context: "CodeGenEdge"}
  	if s.Source == nil {
  		invalidParams.Add(request.NewErrParamRequired("Source"))
  	}
  	if s.Source != nil && len(*s.Source) < 1 {
  		invalidParams.Add(request.NewErrParamMinLen("Source", 1))
  	}
  	if s.Target == nil {
  		invalidParams.Add(request.NewErrParamRequired("Target"))
  	}
  	if s.Target != nil && len(*s.Target) < 1 {
  		invalidParams.Add(request.NewErrParamMinLen("Target", 1))
  	}
  
  	if invalidParams.Len() > 0 {
  		return invalidParams
  	}
  	return nil
  }