FasterXML / FasterXML/jackson-module-jsonSchema
Incomplete type definition for array/Collection properties
- Langage dominant
- Java
- Étoiles
- 387
- Forks
- 136
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
NOTE: cleaved off of #34
---
This bug seems not to be completely fixed. It doesn't throw a NPE anymore, but it doesn't generate the schema correctly either. It just generates:
``` json
{
"type":"array"
}
```
I extended the test to use a collection of nested beans, and expected to see the schema of the nested items, e.g.:
``` json
{
"type" : "array",
"items" : {
"type" : "object",
"properties" : {
"property1" : {
"type" : "integer"
},
"property2" : {
"type" : "string"
}
}
}
}
```
See updated test: https://github.com/greyfairer/jackson-module-jsonSchema/commit/2a9b859fac14a412de68917655c9cf928d31d651
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Évaluation
Cette issue n'a pas encore été évaluée.