How to use enums in ASP.NET Core routes

This post will cover two things: How to use an enum in ASP.NET Core routes with the string value of the enum rather than the integer value How to have the Swagger UI show a dropdown of the enum values rather than needing to type in the string value Thanks to Nick Heath and Thomas […]

How to use enums in ASP.NET Core routes Read More ยป