FasterXML / FasterXML/jackson-module-jsonSchema

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

Ouverte
#89 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Java
Étoiles
387
Forks
136
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.