Skip to content

Commit 4e06221

Browse files
committed
fix: conditionally add jackson JsonIgnoreProperties for base class polymorphism
1 parent 8f8001e commit 4e06221

23 files changed

+137
-18
lines changed

docs/generators/groovy.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ These options may be applied as additional-properties (cli) or configOptions (pl
6969
|useJakartaEe|whether to use Jakarta EE namespace instead of javax| |false|
7070
|useOneOfInterfaces|whether to use a java interface to describe a set of oneOf options, where each option is a class that implements the interface| |false|
7171
|withXml|whether to include support for application/xml content type and include XML annotations in the model (works with libraries that provide support for JSON and XML)| |false|
72+
|discriminatorFieldIgnore| whether to add jackson @JsonIgnoreProperties for discriminator in base class | |false|
73+
7274

7375
## SUPPORTED VENDOR EXTENSIONS
7476

docs/generators/java-camel.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl
116116
|useTags|use tags for creating interface and controller classnames| |false|
117117
|virtualService|Generates the virtual service. For more details refer - https://github.com/virtualansoftware/virtualan/wiki| |false|
118118
|withXml|whether to include support for application/xml content type and include XML annotations in the model (works with libraries that provide support for JSON and XML)| |false|
119+
|discriminatorFieldIgnore| whether to add jackson @JsonIgnoreProperties for discriminator in base class | |false|
119120

120121
## SUPPORTED VENDOR EXTENSIONS
121122

docs/generators/java-dubbo.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl
8282
|useOneOfInterfaces|whether to use a java interface to describe a set of oneOf options, where each option is a class that implements the interface| |false|
8383
|useTags|use tags for creating interface and controller classnames| |true|
8484
|withXml|whether to include support for application/xml content type and include XML annotations in the model (works with libraries that provide support for JSON and XML)| |false|
85+
|discriminatorFieldIgnore| whether to add jackson @JsonIgnoreProperties for discriminator in base class | |false|
8586

8687
## SUPPORTED VENDOR EXTENSIONS
8788

docs/generators/java-helidon-client.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl
6868
|withXml|whether to include support for application/xml content type and include XML annotations in the model (works with libraries that provide support for JSON and XML)| |false|
6969
|x-helidon-groupBy|Selects how to group operations into APIs|<dl><dt>**tags**</dt><dd>Use the 'tags' settings on each operation</dd><dt>**first-path-segment**</dt><dd>Use the first segment of the path</dd></dl>|tags|
7070
|x-helidon-useOptional|Wrap optional parameters in an Optional (Helidon 4 and later)| |true|
71+
|discriminatorFieldIgnore| whether to add jackson @JsonIgnoreProperties for discriminator in base class | |false|
7172

7273
## SUPPORTED VENDOR EXTENSIONS
7374

docs/generators/java-helidon-server.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl
7171
|withXml|whether to include support for application/xml content type and include XML annotations in the model (works with libraries that provide support for JSON and XML)| |false|
7272
|x-helidon-groupBy|Selects how to group operations into APIs|<dl><dt>**tags**</dt><dd>Use the 'tags' settings on each operation</dd><dt>**first-path-segment**</dt><dd>Use the first segment of the path</dd></dl>|tags|
7373
|x-helidon-useOptional|Wrap optional parameters in an Optional (Helidon 4 and later)| |true|
74+
|discriminatorFieldIgnore| whether to add jackson @JsonIgnoreProperties for discriminator in base class | |false|
7475

7576
## SUPPORTED VENDOR EXTENSIONS
7677

docs/generators/java-inflector.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl
7171
|useJakartaEe|whether to use Jakarta EE namespace instead of javax| |false|
7272
|useOneOfInterfaces|whether to use a java interface to describe a set of oneOf options, where each option is a class that implements the interface| |false|
7373
|withXml|whether to include support for application/xml content type and include XML annotations in the model (works with libraries that provide support for JSON and XML)| |false|
74+
|discriminatorFieldIgnore| whether to add jackson @JsonIgnoreProperties for discriminator in base class | |false|
7475

7576
## SUPPORTED VENDOR EXTENSIONS
7677

docs/generators/java-micronaut-client.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl
9292
|visitable|Generate visitor for subtypes with a discriminator| |false|
9393
|withXml|whether to include support for application/xml content type and include XML annotations in the model (works with libraries that provide support for JSON and XML)| |false|
9494
|wrapInHttpResponse|Wrap the response in HttpResponse object| |false|
95+
|discriminatorFieldIgnore| whether to add jackson @JsonIgnoreProperties for discriminator in base class | |false|
9596

9697
## SUPPORTED VENDOR EXTENSIONS
9798

docs/generators/java-micronaut-server.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl
9191
|visitable|Generate visitor for subtypes with a discriminator| |false|
9292
|withXml|whether to include support for application/xml content type and include XML annotations in the model (works with libraries that provide support for JSON and XML)| |false|
9393
|wrapInHttpResponse|Wrap the response in HttpResponse object| |false|
94+
|discriminatorFieldIgnore| whether to add jackson @JsonIgnoreProperties for discriminator in base class | |false|
9495

9596
## SUPPORTED VENDOR EXTENSIONS
9697

docs/generators/java-microprofile.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl
109109
|webclientBlockingOperations|Making all WebClient operations blocking(sync). Note that if on operation 'x-webclient-blocking: false' then such operation won't be sync| |false|
110110
|withAWSV4Signature|whether to include AWS v4 signature support (only available for okhttp-gson library)| |false|
111111
|withXml|whether to include support for application/xml content type and include XML annotations in the model (works with libraries that provide support for JSON and XML)| |false|
112+
|discriminatorFieldIgnore| whether to add jackson @JsonIgnoreProperties for discriminator in base class | |false|
112113

113114
## SUPPORTED VENDOR EXTENSIONS
114115

docs/generators/java-msf4j.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl
7777
|useOneOfInterfaces|whether to use a java interface to describe a set of oneOf options, where each option is a class that implements the interface| |false|
7878
|useTags|use tags for creating interface and controller classnames| |false|
7979
|withXml|whether to include support for application/xml content type and include XML annotations in the model (works with libraries that provide support for JSON and XML)| |false|
80+
|discriminatorFieldIgnore| whether to add jackson @JsonIgnoreProperties for discriminator in base class | |false|
8081

8182
## SUPPORTED VENDOR EXTENSIONS
8283

0 commit comments

Comments
 (0)