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 attempting to specify two routes with the same path and method, but different accepted format (e.g. format = "application/json" vs format = "application/cbor") error message appears: An OpenAPI operation has already been added for ...
The reason is that currently only method and path are taken into account when adding a new routes, while format should be considered as well.
(Thanks a lot for a nice crate!)
The text was updated successfully, but these errors were encountered:
When attempting to specify two routes with the same path and method, but different accepted format (e.g.
format = "application/json"
vsformat = "application/cbor"
) error message appears:An OpenAPI operation has already been added for ...
The reason is that currently only method and path are taken into account when adding a new routes, while
format
should be considered as well.(Thanks a lot for a nice crate!)
The text was updated successfully, but these errors were encountered: