code: func (g *NamespaceGeneratorV1) validate() error {
  	if len(g.Name) == 0 {
  		return fmt.Errorf("name must be specified")
  	}
  	return nil
  }
docs: // validate validates required fields are set to support structured generation