FasterXML / FasterXML/jackson-module-jsonSchema
Key type of `Map` valued properties not being added to Schema
未關閉
- 主要語言
- Java
- 星號
- 387
- 分支
- 136
- PR 合併指標
- 30 天內沒有已合併 PR
描述
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.
貢獻指南
這個儲存庫沒有索引到貢獻指南
評估
這個 Issue 還沒有評估資料。