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
I am using Huma to generate an openapi spec, which I can then generate client SDKs from. The issue is that all of the request bodies and all of the response objects are generated inline, for each endpoint, instead of being reusable components in the components path.
How do I configure huma to make all json objects reusable components in the components path?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am using Huma to generate an openapi spec, which I can then generate client SDKs from. The issue is that all of the request bodies and all of the response objects are generated inline, for each endpoint, instead of being reusable components in the components path.
How do I configure huma to make all json objects reusable components in the components path?
Beta Was this translation helpful? Give feedback.
All reactions