Another question :).

8 views
Skip to first unread message

Nigel Tzeng

unread,
Nov 3, 2023, 2:10:22 PM11/3/23
to jsonschema2pojo-users
If we have a construct like:

“Foo: {

          "properties": {

            "id": {

              "description": “Foo Object (ID)”,

              "type": "string"

            },


We currently get: 


@JsonProperty(“foo”)

@JsonPropertyDescription(“Foo Object (ID)”)

private String foo;


Can we get the pojo mapper to generate this instead for us:


@JsonProperty(“foo”)

@JsonPropertyDescription(“Foo Object (ID)”)

private Foo foo;


Reply all
Reply to author
Forward
0 new messages