-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
bugSomething isn't workingSomething isn't working
Description
The following succeeds when it should not. The value for <<"required">> must be a list.
SchemaArr =
jiffy:encode(
#{<<"$id">> => <<"arr">>,
<<"type">> => <<"object">>,
<<"definitions">> =>
#{<<"Element">> =>
#{<<"type">> => <<"object">>,
<<"properties">> => #{<<"x">> => #{<<"type">> => <<"integer">>}},
<<"required">> => [<<"x">>]}},
<<"properties">> =>
#{<<"arr">> => #{<<"type">> => <<"array">>,
<<"items">> => #{<<"$ref">> => <<"#/definitions/Element">>},
<<"minItems">> => 1}},
<<"required">> => <<"arr">>}),
jerk:add_schema(SchemaArr)Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working