Swagger Page is 404 Not Found in MVC net-core

后端 未结 1 509
忘掉有多难
忘掉有多难 2021-01-18 08:23

I have a brand new .NET-Core Web API project that I want to use API versioning and swagger.

When I try to view the swagger page I get a 404. However, the default Val

相关标签:
1条回答
  • 2021-01-18 09:09

    When I created the project, I accidentally included the .vs folder in check in. When I removed it from source control, for whatever reason swagger started working again.

    Not sure that the explanation is for this.

    0 讨论(0)
提交回复
热议问题