Vimal Vataliya
Vimal Vataliya

Reputation: 260

use Swagger in dot net core api framework 2

How to use Swagger in asp.net core API. i used core framework-2. i try

Swashbuckle.AspNetCore

package, but it's not supported in framework-2.

Upvotes: 2

Views: 583

Answers (1)

Yared
Yared

Reputation: 2472

I had the same issue and could be able to fix it by installing Microsoft.AspNetCore.StaticFiles Nuget package.

<PackageReference Include="Microsoft.AspNetCore.StaticFiles" Version="2.0.0" />

https://github.com/domaindrivendev/Swashbuckle.AspNetCore/issues/438

Upvotes: 4

Related Questions