Upgrading Swashbuckle.AspNetCore 1 to 2
Breaking1.2.0 → 2.5.0Breaking2New2Changed4Fixed4
BreakingUpgrade verdict
2 breaking changes.
In plain terms
- 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.
Must act 2 items need code or config changes
3 packages of its own release move with it.
What you must change
Breaking2
Renames the CLI package from dotnet-swagger to Swashbuckle.AspNetCore.Cli.
dotnet-swaggerSwashbuckle.AspNetCore.CliUpgrades embedded swagger-ui from 2.2.10 to 3.10.0, which involves breaking changes to the SwaggerUI config interface.
swagger-ui