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 working with untagged enums, I often derive Serialize/Deserialize manually, because serde's default error reporting for untagged enums can be very vague. However, since they still behave just like untagged enums, I'd like to be able to derive ToSchema on them. In short, I'd like this to work:
The only reason this gets rejected is because serde isn't listed as one of the helpers for ToSchema (which it is, since ToSchema looks at serde tags). It should be an easy and non-breaking change, I can make a PR for it.