-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Not sure where to post feedback to the spec so I try here.
I just discovered JTD and think it's a good idea to have a spec designed to produce POCO objects in any language. After trying to write a simple schema builder in Vue I have a few questions/comments to the spec.
-
Why
optionalPropertiesinstead of anoptionalbool like thenullableoption? -
What is the psudo code to figure out if a form is primitive or complex type? I ended up with
if (properties || optionalProperties || discriminator || elements || items) // object
if (enum || type == "string" || type == "timestamp") // string- Why no
int64/uint64? - The
uint8is nice to have for buffers/byte arrays but I thinkint8,int16, anduint16should be removed from the spec.
angelsanzn
Metadata
Metadata
Assignees
Labels
No labels