add comments to swagger

This commit is contained in:
Вячеслав 2025-04-27 15:36:15 +05:00
parent cd8df6bf54
commit 41f747e008
2 changed files with 11 additions and 0 deletions

View file

@ -98,6 +98,9 @@ public class Program
Array.Empty<string>()
}
});
var filePath = Path.Combine(System.AppContext.BaseDirectory, "SurveyBackend.API.xml");
c.IncludeXmlComments(filePath);
});
var app = builder.Build();