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
When the Ocelot configuration includes both a wildcard route, such as /{everything}, and a dedicated route pointing to the same path, the route transformer fails. Instead of showing the correctly transformed downstream route, it displays the untransformed route.
Expected behaviour
The transformation should be applied and shown in Swagger UI.
To Reproduce
Use the following Ocelot ReRoutes configuration.
When the Ocelot configuration includes both a wildcard route, such as /{everything}, and a dedicated route pointing to the same path, the route transformer fails. Instead of showing the correctly transformed downstream route, it displays the untransformed route.
Expected behaviour
The transformation should be applied and shown in Swagger UI.
To Reproduce
Use the following Ocelot ReRoutes configuration.
In order to fix this issue the transformer function could be modifed as following:
The text was updated successfully, but these errors were encountered: