Open etask-ps opened 5 years ago
i am using "x-generator": "NSwag v13.0.2.0 (NJsonSchema v10.0.20.0 (Newtonsoft.Json v12.0.0.0))"
What if you set Path = "/redoc" as well. Does it work then?
What if you set Path = "/redoc" as well. Does it work then?
this fixed it for me.
We want to make our api available per redoc UI by changing the middlewareBasePath to 'redoc'. The settings are as follows:
using the app.UseSwaggerUi3() this works fine. However, when using app.UseSwaggerReDoc(), I get the following exception:
However, if I use the same settings and replace 'redoc' with 'swagger' I don't get an exception