Im using asp net core 3.1 web api. I want to include xml documentation to swagger ui.
Im using de following methods in ConfigureServices:
services.AddOpenApiDocument(...)
and there in Configure:
app.UseOpenApi();
app.UseSwaggerUi3();
Im a bit confused, cuz many developer using AddSwaggerGen and UseSwagger, and then use IncludeXmlComments() extension method.
Questions:
Is there a way to include xml comments in asp net core 3.1 with the built in libraries?
If yes what is the proper way to include Xml comments?
Should i install Swashbuckle.AspNetCore?