code: func ParseGenericResources(value []string) ([]swarm.GenericResource, error) {
  	if len(value) == 0 {
  		return nil, nil
  	}
  
  	resources, err := genericresource.Parse(value)
  	if err != nil {
  		return nil, err
  	}
  
  	obj := convert.GenericResourcesFromGRPC(resources)
  	return obj, nil
  }
docs: // ParseGenericResources parses and validates the specified string as a list of GenericResource