OpenAPITools/openapi-generator

[REQ] Generate JsonB model (JSR 367 Specification)

オープン

#4,104 opened on 2019/10/09

 (3 件のコメント) (0 件のリアクション) (0 人の担当者)Java (7,516 件のフォーク)batch import
Client: JavaEnhancement: FeatureHacktoberfestServer: Javahelp wanted

Repository metrics

Stars
 (26,243 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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

コントリビューターガイド