Closed larrybabb closed 1 year ago
Taking some notes on what needs to be done to the input/output of datamodel-codegen
:
definition
instead of $defs
. datamodel-codegen seems to not support $defs
which is used in recent jsonschema versions like 2020-12.Literal
. Like type
on Variation subclasses.discriminator
. I have just removed the discriminator
from the Field call in the Location class for now. If more union types are added to Location, it needs to be added back.@toneillbroad
closing as completed as a work in progress in the 2-alpha branch
Use the vrs 2.0 alpha schema for this...