Skip to content

Upgrading Swashbuckle.AspNetCore.SwaggerUI 8 to 9

Breaking8.1.4 → 9.0.6Breaking2New1Changed9Fixed8Other14

BreakingUpgrade verdict

2 breaking changes.

  • Any old APIs that were marked obsolete in earlier versions are now gone, so code using them will no longer compile.
  • The old command-line flag for producing Swagger 2.0 output is gone. Use the newer version flag instead.
2 items need code or config changes

Target frameworks requirement changed in 9.0.0: .NETStandard2.0, net8.0, net9.0 → net8.0, net9.0.

Breaking2
Removes all public members annotated as [Obsolete] in previous releases.
[Obsolete]
Removes the deprecated --serializeasv2 option from Swashbuckle.AspNetCore.Cli, superseded by --openapiversion since 8.0.0.
--serializeasv2--openapiversion