Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

how to show enum name list from input in swagger c#

services.AddControllers().AddJsonOptions(options =>
            options.JsonSerializerOptions.Converters.Add(new JsonStringEnumConverter()));
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #show #enum #list #input #swagger
ADD COMMENT
Topic
Name
9+2 =