FasterXML / FasterXML/jackson-module-jsonSchema

Key type of `Map` valued properties not being added to Schema

Đang mở
#89 0 bình luận 0 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ả

Looks like `MapVisitor.java` is not doing anything with key type it gets via callback:

``` java
@Override
public void keyFormat(JsonFormatVisitable handler, JavaType keyType)
throws JsonMappingException {
// JSON Schema only allows String types so let's not bother too much
}
```

but it should, since there is some useful information from databinding perspective (enum, time/date types, numbers-as-Strings) and this should be available from `JsonSchema` object.

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.