Open Sour-Codes opened 1 year ago
I switched to NSwag in the end.
There are some workarounds in https://github.com/domaindrivendev/Swashbuckle.WebApi/issues/1000 for ASP.NET Core
FYI this is supported in DotSwashbuckle
I still can't use inheritdoc functionality when it inherits xml document from another assembly. thanks for any help.
Any news when this will be pushed?
To replicate:
ASP.NET Core Web API
project.Set
<GenerateDocumentationFile>
totrue
in.csproj
.In
Program.cs
, replacebuilder.Services.AddSwaggerGen();
with:[HttpGet(Name = "GetWeatherForecast")]
:[HttpGet(Name = "GetWeatherForecast")]
with the following:WeatherForecastController
, such as: