I am trying to add enums as parameters for my Swagger endpoint but they are being displayed as integers:
On the old .NET there was an option for Swagger option.DescribeAllEnumsAsStrings();
but I don't have it on .NET 6:
I tried adding:
options.JsonSerializerOptions.Converters.Add(new JsonStringEnumConverter());
but it is still not showing my enums as strings.