Currently I am using .netcore 3.1 project. Started migrating it to .net6.0
Below code is currently implemented in .netcore3.1
app.UseMvc(b =>
{
b.MapVersionedODataRoutes("odata-versioned", "odata", edmModels);
});
After migrating the framework to .net6.0 and I am getting error that MapVersionedODataRoutes is not available. Are there a breaking changes? What is the new way of implementing the same.
Got stuck as the MapVersionedODataRoutes was not available