Closed 64Soft closed 3 months ago
When upgrading from Namotion.Reflection package 3.0.1 to 3.1.0, something broke when generating the documentation page using UseSwaggerUi3 with NSwag
This is my code for calling UseSwaggerUi3, pretty basic, and worked fine with Namotion.Reflection 3.0.1
app.UseSwaggerUi3(typeof(Startup).Assembly, settings => { settings.GeneratorSettings.Title = "MyApi"; });
However after updating to 3.1.0, the documentation page yields a 500 error:
Downgrading to 3.0.1 makes it work again.
Any settings I should change in the UseSwaggerUi3 parameters ?
I'm using .NET Framework 4.7.2 for this project.
Thanks
Same here. There is already an open issue on the NSwag repo: NSwag Issue
Has been fixed in v14 of the NSwag package
When upgrading from Namotion.Reflection package 3.0.1 to 3.1.0, something broke when generating the documentation page using UseSwaggerUi3 with NSwag
This is my code for calling UseSwaggerUi3, pretty basic, and worked fine with Namotion.Reflection 3.0.1
app.UseSwaggerUi3(typeof(Startup).Assembly, settings => { settings.GeneratorSettings.Title = "MyApi"; });
However after updating to 3.1.0, the documentation page yields a 500 error:
Downgrading to 3.0.1 makes it work again.
Any settings I should change in the UseSwaggerUi3 parameters ?
I'm using .NET Framework 4.7.2 for this project.
Thanks