add comments to swagger
This commit is contained in:
parent
cd8df6bf54
commit
41f747e008
2 changed files with 11 additions and 0 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue