Reputation: 23
I'm trying to install Swashbuckle
to my web api in aspnet core 2.0
. Reading all over google about how to set it up it's written about the SwaggerConfig.cs
under the App_Start-folder.
But when I install it never gets created?? Where is it?
All I can do is setting up the basics in Start.cs
, and it's just some basics? Where is the SwaggerConfig.cs
?
Upvotes: 2
Views: 3003
Reputation: 17574
There are two versions of swashbuckle:
There is no SwaggerConfig file on the AspNetCore version.
Your configuration goes on the Startup.cs: Swashbuckle.AspNetCore/blob/master/README.md#getting-started
Upvotes: 3