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
optionalProperties
instead of anoptional
bool like thenullable
option? -
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
uint8
is nice to have for buffers/byte arrays but I thinkint8
,int16
, anduint16
should be removed from the spec.
Metadata
Metadata
Assignees
Labels
No labels