Skip to content

Commit a4c00af

Browse files
committed
1 parent 03e7c15 commit a4c00af

File tree

2 files changed

+22
-4
lines changed

2 files changed

+22
-4
lines changed

docs/modules/ROOT/pages/processor/configuration.adoc

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ options:
2323
enum-type: string
2424
one-of-interface: true
2525
bean-validation: jakarta
26+
jackson: v3
2627
generated: true
2728
generated-date: true
2829
format-code: true
@@ -83,7 +84,7 @@ parent key to group package-name related options.
8384

8485
**required/optional** (string)
8586

86-
the root (java) package name of the generated interfaces & models. The package folder tree will be created inside the `targetDir`.
87+
the root (java) package name of the generated interfaces and models. The package folder tree will be created inside the `targetDir`.
8788

8889
This is the same as `package-name`. Only one of `package-name` or `package-names.base` is *required*.
8990

@@ -96,9 +97,9 @@ It takes precedence above `package-name` if both ar set.
9697

9798
`package-names.location` enables the creation of package names based on the file location of $ref'erenced parts of the OpenAPI description.
9899

99-
It is the *parent* package for location based package names.
100+
It is the *parent* package of location-based package names.
100101

101-
Only (OpenAPI) file locations below the parent package will be generated with a location based package name. Any other (OpenAPI) file location will use `package-names.base` (or `package-name`) as the package name.
102+
Only (OpenAPI) file locations below the parent package will be generated with a location-based package name. Any other (OpenAPI) file location will use `package-names.base` (or `package-name`) as the package name.
102103

103104
Enabling this has a few conditions:
104105

@@ -333,6 +334,23 @@ to handle the package name change from bean validation v2 to v3 (`javax` => `jak
333334
** `javax`: enables bean validation annotations v2, with `javax` package name
334335
** `jakarta`: enables bean validation annotations v3, with `jakarta` package name
335336

337+
=== jackson ([.badge .badge-since]+new with 2026.3+)
338+
339+
**optional** (string, `v2` or `v3`, default is `false`)
340+
341+
selects the Jackson version, i.e., which package-name is used.
342+
343+
|===
344+
|Version |package-name
345+
346+
|v3
347+
|`tools.jackson`
348+
349+
|v2 (default)
350+
|`com.fasterxml.jackson`
351+
352+
|===
353+
336354
=== javadoc
337355

338356
**optional** (boolean, `true` or `false`, default is `false`)
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
:var-mapping-version: v17
1+
:var-mapping-version: v18
22
:var-openapi-version: 3.1.0

0 commit comments

Comments
 (0)