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.

1 Answer 1

4

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

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.