fuhrysteve/marshmallow-jsonschema

Wrong type serialization

KathRains opened this issue · 1 comments

If I have the datetime field, the result JSON will be:

created:
format: "date-time"
title: "created"
type: "string"

Also, for boolean the type is presented as an array:

is_test_data:
{  title: "is_test_data"
   type: Array(2)
   0: "boolean"
   1: "null"}

Accidentally duplicated myself