Nswag: Middlewares: Add support for ReDoc web UI

Created on 1 Dec 2016  路  10Comments  路  Source: RicoSuter/NSwag

https://github.com/Rebilly/ReDoc

appBuilder.UseSwaggerReDoc(....)
NSwag.AspNet enhancement

Most helpful comment

@RomanGotsiy integration was no problem - UI looks good so far. If I see any issues with how the spec is processed I'll come back to you :-). ReDoc looks like a nice alternative to Swagger UI.

All 10 comments

That would be really nice!

UseSwaggerReDoc() or UseReDoc()?

Hey, @RSuter. Great work with NSwag!

ReDoc author here 馃憢
Let me know if you have any troubles with ReDoc integration. I would be happy to help out!

and just FYI: I'm migrating ReDoc to React.js: https://github.com/Rebilly/ReDoc/issues/327

@RomanGotsiy integration was no problem - UI looks good so far. If I see any issues with how the spec is processed I'll come back to you :-). ReDoc looks like a nice alternative to Swagger UI.

Will be available soon in v11.8.0

I need help with UseSwaggerReDoc. I can not find any example how to set everything in .NET CORE 2.0 project.

Sorry, false alert.

URL: https://github.com/RSuter/NSwag/blob/master/src/NSwag.Sample.NETCore20/Startup.cs

But i found out the problem with URL. In browser i must to use URL "http://www.example.com/swagger/" but not "http://www.example.com/swagger". This is confusing.

This is strange, can you open a new issue with that?

Was this page helpful?
0 / 5 - 0 ratings