Here is my configuration in the startup.cs
services.AddApiVersioning(options => { options.DefaultApiVersion = new ApiVersion(1, 0);