You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The swagger endpoint does not update to the virtual hosted gateway. The endpoint remain "/swagger/docs". When clicking on the it open a link to the service swagger without the virtual host name.
Expected /gateway/swagger/docs/v1/servicename Actual /swagger/docs/v1/servicename
However, when I manually navigate to the path /gateway/swagger/docs/v1/servicename, the json renders as expected.
Additionally, I tried the following but no luck.
app.UseSwaggerForOcelotUI(opt => {
opts.ServerOcelot = "/siteName/gateway" ;
})
How do I get swagger to work when hosting the gateway in a virtual directory.
The text was updated successfully, but these errors were encountered:
The swagger endpoint does not update to the virtual hosted gateway. The endpoint remain "/swagger/docs". When clicking on the it open a link to the service swagger without the virtual host name.
Expected /gateway/swagger/docs/v1/servicename
Actual /swagger/docs/v1/servicename
However, when I manually navigate to the path /gateway/swagger/docs/v1/servicename, the json renders as expected.
Additionally, I tried the following but no luck.
app.UseSwaggerForOcelotUI(opt => {
opts.ServerOcelot = "/siteName/gateway" ;
})
How do I get swagger to work when hosting the gateway in a virtual directory.
The text was updated successfully, but these errors were encountered: