Open leonardopsantos opened 8 months ago
As I understand it, the package creates just one output file, with all references being included directly (e.g. multiple models in one file), if your input is just one file (in your case home/user/schemas/Foo.schema.json
). Have you tried giving as input /home/user/schemas
?
Describe the bug
References to other files don't work.
I have a custom schema that uses file references like so:
When calling
datamodel-codegen
:Only the
out
folder is created with aBar.py
file.Expected behavior
The
out
folder to have both Python files.Version:
80266b4f6ea09bc7675466af459c7f6617f0c307