-
Hi, I have been trying to add ToSchema to this specific struct but I encountered the following error:
This is the body of the struct:
I am not sure where this issue comes from, all the other structures that implement ToSchema do not show any error |
Beta Was this translation helpful? Give feedback.
Answered by
juhaku
Jan 21, 2023
Replies: 1 comment 2 replies
-
I guess this error is result of this line here
Currently utoipa has one limitation in types ans that is it does not support tuple types. And here I guess the utoipa mistakenly thinks that |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
Erisli
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I guess this error is result of this line here
Currently utoipa has one limitation in types ans that is it does not support tuple types. And here I guess the utoipa mistakenly thinks that
()
is tuple type even it is unit type.