Don't inline generics #1443
Unanswered
firstdorsal
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
Currently i have this generic return type:
and then for example:
That then generates this inlined schema:
the inner type is also present, but not used:
I would like it to not inline structs generally, especially here I would like it to look like this, else code generation is very messy.
I tried out
.schema_collect(...)
from https://github.com/juhaku/utoipa/tree/master/utoipa-config but couldn't get it to work.Can this be done?
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions