-
Hi, this a great tool, Is there a way to split output to different files? |
Beta Was this translation helpful? Give feedback.
Answered by
koxudaxi
Jan 18, 2023
Replies: 1 comment
-
You can define the model as modular if you add |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
koxudaxi
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can define the model as modular if you add
.
in the model name.There is an example.
https://github.com/koxudaxi/datamodel-code-generator/blob/master/tests/data/openapi/modular.yaml
https://github.com/koxudaxi/datamodel-code-generator/tree/master/tests/data/expected/main/main_modular