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 have around 20 model definitions in swagger.yaml and when i generate code its quite messy with all the models being in same directory. Is there a way to categorize them ?
Say i have models definitions for cats, chairs, dogs, tables, books, pens . How do i generate code that categorises into sub packages like below
It would be nice to group models by type like this.
Example:
Response ->
TransactionResponse ->
StatusResponse
Request ->
TransactionRequest ->
StatusRequest
This is more of a question.
I have around 20 model definitions in swagger.yaml and when i generate code its quite messy with all the models being in same directory. Is there a way to categorize them ?
Say i have models definitions for
cats, chairs, dogs, tables, books, pens
. How do i generate code that categorises into sub packages like belowThe text was updated successfully, but these errors were encountered: