FasterXML / FasterXML/jackson-module-jsonSchema

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

Aberta
#89 0 comentários 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
Java
Estrelas
387
Forks
136
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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.

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.