Добавление в сваггер комментариев для Dto
This commit is contained in:
parent
726a51ea21
commit
379b64779b
@ -46,6 +46,7 @@ public static class DependencyInjection
|
|||||||
var xmlPath = Path.Combine(AppContext.BaseDirectory, xmlFile);
|
var xmlPath = Path.Combine(AppContext.BaseDirectory, xmlFile);
|
||||||
var includeControllerXmlComment = true;
|
var includeControllerXmlComment = true;
|
||||||
c.IncludeXmlComments(xmlPath, includeControllerXmlComment);
|
c.IncludeXmlComments(xmlPath, includeControllerXmlComment);
|
||||||
|
c.IncludeXmlComments(Path.Combine(AppContext.BaseDirectory, "DD.Persistence.Models.xml"), includeControllerXmlComment);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user