Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrading from 3.0.1 to 3.1.0 breaks NSwag documentation #139

Open
64Soft opened this issue Nov 6, 2023 · 1 comment · May be fixed by #151
Open

Upgrading from 3.0.1 to 3.1.0 breaks NSwag documentation #139

64Soft opened this issue Nov 6, 2023 · 1 comment · May be fixed by #151

Comments

@64Soft
Copy link

64Soft commented Nov 6, 2023

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:

image

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

@Scorpoon
Copy link

Scorpoon commented Dec 23, 2023

Same here.
There is already an open issue on the NSwag repo: NSwag Issue

Has been fixed in v14 of the NSwag package

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants