FasterXML / jackson-module-jsonSchema

Module for generating JSON Schema (v3) definitions from POJOs
371 stars 135 forks source link

Why is oneOf a `Set<Object>`? #99

Open mrpotes opened 8 years ago

mrpotes commented 8 years ago

Looking at the JSON Schema Validation spec oneOf section:

Elements of the array MUST be objects. Each object MUST be a valid JSON Schema.

Shouldn't ContainerTypeSchema#oneOf therefore be a Set<JsonSchema>?