DEV Community

Discussion on: JWT Authentication with Symmetric Encryption in ASP.NET Core

Collapse
 
vdanielvasquez profile image
Daniel Vasquez

I tried this using net6.0 and discovered that swagger is not allowing the controller ValidationController method to miss its HTTP verb.

Swashbuckle.AspNetCore.SwaggerGen.SwaggerGeneratorException: Ambiguous HTTP method for action - xxxx.Controllers.ValidationController.Validates (SecurityApp). Actions require an explicit HttpMethod binding for Swagger/OpenAPI 3.0