-
Hi, I just get a blank view. So opening localhost/swagger/docs goes somewhere, but its just white background. And implemented as follows :
My Ocelot Config (Shortend) :
|
Beta Was this translation helpful? Give feedback.
Answered by
Burgyn
Feb 3, 2021
Replies: 1 comment
-
Hi @kurtisane, I am not currently at the PC. At first glance (from mobile) it's look that you have incorrect order in app.UseSwaggerForOcelotUI(opt =>
{
opt.PathToSwaggerGenerator = "/swagger/docs";
});
app.UseOcelot().Wait() |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
kurtisane
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @kurtisane,
I am not currently at the PC. At first glance (from mobile) it's look that you have incorrect order in
Configuration
section.When registering middleware depends on the order.
Ocelot
middlewate should be the last.