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
Using this feature rwf2/Rocket#590 results in the trait bound '[...] rocket_okapi::response::OpenApiResponderInner' is not satisfied when the enum type is as a result type in a #[openapi] endpoint function.
It would be great if #[openapi] or similar could be used on an enum deriving Responder to also derive the appropriate forwarding OpenApiResponderInner implementation for the enum.
Using this feature rwf2/Rocket#590 results in
the trait bound '[...] rocket_okapi::response::OpenApiResponderInner' is not satisfied
when the enum type is as a result type in a#[openapi]
endpoint function.It would be great if #[openapi] or similar could be used on an enum deriving Responder to also derive the appropriate forwarding OpenApiResponderInner implementation for the enum.
Example:
Should generate:
The text was updated successfully, but these errors were encountered: