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
Describe the bug
I receive a status code 500 when a downstream swagger document is loaded. (only in 8.1, 8.0 works fine)
Expected behavior
Page to load successfully.
To Reproduce
The Ocelot.json has a wildcard route (E.g '/api/v1/{everything}') and one that is more specific for a given method (E.g POST on /api/v1/resource) for rate limiting, this causes the following exception to be thrown from SwaggerJsonTransformers.cs line 195.
System.ArgumentException: 'Can not add property post to Newtonsoft.Json.Linq.JObject. Property with the same name already exists on object.
The text was updated successfully, but these errors were encountered:
Describe the bug
I receive a status code 500 when a downstream swagger document is loaded. (only in 8.1, 8.0 works fine)
Expected behavior
Page to load successfully.
To Reproduce
The Ocelot.json has a wildcard route (E.g '/api/v1/{everything}') and one that is more specific for a given method (E.g POST on /api/v1/resource) for rate limiting, this causes the following exception to be thrown from SwaggerJsonTransformers.cs line 195.
System.ArgumentException: 'Can not add property post to Newtonsoft.Json.Linq.JObject. Property with the same name already exists on object.
The text was updated successfully, but these errors were encountered: