FasterXML / FasterXML/jackson-module-jsonSchema

Incomplete type definition for array/Collection properties

Đang mở
#45 9 bình luận 1 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Java
Star
387
Fork
136
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.