mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2026-03-16 23:29:05 +00:00
If the list is empty you get the ArgumentOutOfRangeException when calling flattenString.Remove(flattenString.Length - 1). Also using a StringBuilder is the prefered way to concatenate strings in a loop.