code: func (np *NamedParameter) inherit(parent NamedParameter, dicts map[string]interface{}) {
  	np.Name = substituteParams(np.Name, parent.Name, dicts)
  	np.DisplayName = substituteParams(np.DisplayName, parent.DisplayName, dicts)
  	np.Description = substituteParams(np.Description, parent.Description, dicts)
  	np.Type = parent.Type
  
  	/*
  		for _, elem := range parent.Enum {
  			if !np.existInEnum(elem) {
  				np.Enum = append(np.Enum, elem)
  			}
  		}
  	*/
  	np.Pattern = inheritStringPointer(np.Pattern, parent.Pattern, dicts)
  	np.MinLength = inheritIntPointer(np.MinLength, parent.MinLength)
  	np.MaxLength = inheritIntPointer(np.MaxLength, parent.MaxLength)
  	if parent.Maximum != nil {
  		np.Maximum = parent.Maximum
  	}
  	if parent.Minimum != nil {
  		np.Minimum = parent.Minimum
  	}
  	if parent.Repeat != nil {
  		np.Repeat = parent.Repeat
  	}
  	if parent.Required {
  		np.Required = true
  	}
  }
docs: // check if an element exist in enum field
  /*func (np *NamedParameter) existInEnum(elem Any) bool {
  	for _, e := range np.Enum {
  		if reflect.DeepEqual(e, elem) {
  			return true
  		}
  	}
  	return false
  }
  */