Добавление в сваггер комментариев для Dto

This commit is contained in:
Оля Бизюкова 2025-03-18 12:47:48 +05:00
parent 726a51ea21
commit 379b64779b

View File

@ -46,6 +46,7 @@ public static class DependencyInjection
var xmlPath = Path.Combine(AppContext.BaseDirectory, xmlFile);
var includeControllerXmlComment = true;
c.IncludeXmlComments(xmlPath, includeControllerXmlComment);
c.IncludeXmlComments(Path.Combine(AppContext.BaseDirectory, "DD.Persistence.Models.xml"), includeControllerXmlComment);
});
}