diff --git a/aspnetcore/tutorials/publish-to-azure-api-management-using-vs.md b/aspnetcore/tutorials/publish-to-azure-api-management-using-vs.md index 803693c260..fa50e9f5c9 100644 --- a/aspnetcore/tutorials/publish-to-azure-api-management-using-vs.md +++ b/aspnetcore/tutorials/publish-to-azure-api-management-using-vs.md @@ -169,9 +169,9 @@ Notice the name of the API is different than what you named it. The published AP ```csharp services.AddSwaggerGen(config => { - config.SwaggerDoc("WeatherForecasts", new Microsoft.OpenApi.Models.OpenApiInfo + config.SwaggerDoc("v1", new Microsoft.OpenApi.Models.OpenApiInfo { - Title = "Weather Forecasts", + Title = "WeatherForecasts", Version = "v1" }); });