I am using the Microsoft.AspNetCore.Mvc.Versioning with Swashbuckle, and Swashbuckle generates a definition file per version using the startup config: