Add doc gen to the generate_enum_match_method
assist
#7570
Merged
generate_enum_match_method
assist
#7570