hamadkh
hamadkh

Reputation: 349

How to replace old Swagger with latest Swagger GUI using Swashbuckle in an exsisting project

Currently have a project in which swagger is setup using swashbuckle in asp.net. I would like to incorporate the new Swagger UI https://swagger.io/swagger-ui/. Is there an easy way of doing that?

Thanks

Upvotes: 1

Views: 1508

Answers (2)

hamadkh
hamadkh

Reputation: 349

If you already have swash-buckle installed in your project and are using default Swagger UI,

  1. Uninstall the packages from your project.
  2. Search for Swagger-Net in your nuget package manager and install it.
  3. Replace all using swash-buckle statements with Swagger.Net.

You are good to go !!

Github Wiki

Upvotes: 2

Helder Sepulveda
Helder Sepulveda

Reputation: 17664

Yes you can use Swagger-Net (I'm the owner of that project)
Swagger-Net is a fork of swashbuckle and we get the latest swagger-ui and other dependencies.

Upvotes: 6

Related Questions