0

After I add swashbuckle 5.2.2 pakage. I can't open the /Swagger Page?

I've add the below code :

  protected static string GetXmlCommentsPath()
    {
        return System.String.Format(@"{0}\bin\UnitTestingWebAPI.API.Core.XML", System.AppDomain.CurrentDomain.BaseDirectory);
    }

and Uncomment the code in SwaggerConfig.cs,but I can't open the page.

   c.IncludeXmlComments(GetXmlCommentsPath());

enter image description here enter image description here enter image description here enter image description here

huoxudong125
  • 1,966
  • 2
  • 26
  • 42

0 Answers0