I'm trying to generate a swagger specification with NSwag.MSbuild but when ever i do it throws me this message "The method 'get' on path '/api/Account' is registered multiple times"
Now the problem is that my methods are route less as shown bellow with some examples of the controller
[HttpPost]
[HttpGet]
[AllowAnonymous]
public IActionResult ExternalRegister(string provider, string returnUrl = null)
[HttpGet]
public IActionResult AddLogin(string provider, string returnUrl)
[HttpGet]
[AllowAnonymous]
public ActionResult SignUpConfig()
I understand why it does this but what i don't understand is that doing the same thing in NSwag Studio works, the command i use is $(NSwagExe_Core22) webapi2swagger is there an option so that it generate succesfully like Nswag Studio ?