OpenAPITools/openapi-generator

[REQ] Generate JsonB model (JSR 367 Specification)

Open

#4.104 aberto em 9 de out. de 2019

Ver no GitHub
 (3 comments) (0 reactions) (0 assignees)Java (7.516 forks)batch import
Client: JavaEnhancement: FeatureHacktoberfestServer: Javahelp wanted

Métricas do repositório

Stars
 (26.243 stars)
Métricas de merge de PR
 (Mesclagem média 12d 6h) (104 fundiu PRs em 30d)

Description

Is your feature request related to a problem? Please describe.

JsonB (JSR 367 Specification) is the new standard for JSON serialization : https://javaee.github.io/jsonb-spec/

It would be nice to add a serializationLibrary: JsonB

Describe the solution you'd like

There are small differences with Jackson generation

Jackson import : import com.fasterxml.jackson.annotation.JsonProperty; Will be replace by : import javax.json.bind.annotation.JsonbProperty;

Annotations @JsonProperty are replaced by @JsonbProperty

Describe alternatives you've considered

Additional context

Guia do colaborador