Swagger doesn't see my controller if I remove [ApiController] attribute, but I don't want use it

前端 未结 0 1546
無奈伤痛
無奈伤痛 2021-02-08 17:03

If I remove [ApiController] in ASP.NET Core 3.1 attribute Swagger stops seing my controller, I\'ve added [Controller] attribute instead, but it didn\'t

相关标签:
回答
  • 消灭零回复
提交回复
热议问题