diff --git a/SurveyBackend/SurveyBackend.API/Program.cs b/SurveyBackend/SurveyBackend.API/Program.cs index 4c1f57b..cb36952 100644 --- a/SurveyBackend/SurveyBackend.API/Program.cs +++ b/SurveyBackend/SurveyBackend.API/Program.cs @@ -98,6 +98,9 @@ public class Program Array.Empty() } }); + + var filePath = Path.Combine(System.AppContext.BaseDirectory, "SurveyBackend.API.xml"); + c.IncludeXmlComments(filePath); }); var app = builder.Build(); diff --git a/SurveyBackend/SurveyBackend.API/SurveyBackend.API.csproj b/SurveyBackend/SurveyBackend.API/SurveyBackend.API.csproj index fef66e7..85458f2 100644 --- a/SurveyBackend/SurveyBackend.API/SurveyBackend.API.csproj +++ b/SurveyBackend/SurveyBackend.API/SurveyBackend.API.csproj @@ -7,6 +7,14 @@ SurveyBackend + + bin\Debug\SurveyBackend.API.xml + + + + bin\Release\SurveyBackend.API.xml + + Never