Skip to content

Upgrading Swashbuckle.AspNetCore 1 to 2

Breaking1.2.0 → 2.5.0Breaking2New2Changed4Fixed4

BreakingUpgrade verdict

2 breaking changes.

  • The command-line tool package has a new name, so you need to reference the new package name.
  • The bundled Swagger UI web page is updated to a much newer version, and the way you configure it has changed, so existing configuration code may need updating.
2 items need code or config changes

3 packages of its own release move with it.

Breaking2
Renames the CLI package from dotnet-swagger to Swashbuckle.AspNetCore.Cli.
dotnet-swaggerSwashbuckle.AspNetCore.Cli
Upgrades embedded swagger-ui from 2.2.10 to 3.10.0, which involves breaking changes to the SwaggerUI config interface.
swagger-ui