where Bar.json would be another schema in the same directory.
I'm not incredibly familiar with scala, but I'm happy to give it a shot, if you're open to supporting the feature.
Alternatively, allowing multiple classes to be generated in the same schema without doing something like creating a root class.
My basic use case is that I've got a collection of classes that I'm generating schemas for, and some of them are included in others. This is really frustrating when trying to use a code generator, which will generate the same class multiple times.
It'd be great if I'd be able to generate a file per class without duplicating class definitions --
that is, instead of referencing any classes used for properties in the
definitions
clause, instead allow referencing them by filename.For example, see this schema:
where
Bar.json
would be another schema in the same directory.I'm not incredibly familiar with scala, but I'm happy to give it a shot, if you're open to supporting the feature.
Alternatively, allowing multiple classes to be generated in the same schema without doing something like creating a root class.
My basic use case is that I've got a collection of classes that I'm generating schemas for, and some of them are included in others. This is really frustrating when trying to use a code generator, which will generate the same class multiple times.
Any input/advice welcomed.