From 8f8e7317bc049dd3127d1d6fc21e9acd2fa8a0af Mon Sep 17 00:00:00 2001 From: joleal Date: Fri, 29 Jan 2021 21:37:46 +0000 Subject: [PATCH] Update publish-to-azure-api-management-using-vs.md (#21332) The Title is what determines the name on the API Management --- .../tutorials/publish-to-azure-api-management-using-vs.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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" }); });