'in a mustache file, how to get just the enumerated values for a discriminator

The YAML mapped names provided within the {{#mappedmodels}}{{/mappedmodels}} loop include both enumerated values and structure names. I was wondering if there's a way to get just the enumerated values.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source