Skip to content

Commit d0ac5d3

Browse files
committed
docs
1 parent b6c8042 commit d0ac5d3

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

docs/mapping/basic.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ nav_order: 1
1010
The OpenAPI specification defines a couple of basic [data types][openapi-spec-types]{:target="_blank"}.
1111
The basic data types are built-in into the processor. That means it will map the basic types automatically
1212
to a corresponding java type. There is no explicit type mapping required.
13+
14+
The types with no default mapping can be mapped to a java type using the mapping configuration.
1315

1416
## OpenAPI to Java type mapping
1517

@@ -24,11 +26,12 @@ The following table shows the automatic mapping of OpenAPIs primitive types to J
2426
`number` | `float` | `java.lang.Float`
2527
`number` | `double` | `java.lang.Double`
2628
`string` | | `java.lang.String`
27-
`string` | `byte` | not (yet) implemented
28-
`string` | `binary` | not (yet) implemented
29+
`string` | `byte` | no default mapping
30+
`string` | `binary` | no default mapping
2931
`boolean` | | `java.lang.Boolean`
3032
`string` | `date` | `java.time.LocalDate`
3133
`string` | `date-time` | `java.time.OffsetDataTime`
32-
`string` | `password` | ignored
34+
`string` | `password` | no default mapping
35+
3336

3437
[openapi-spec-types]: https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.2.md#dataTypes

0 commit comments

Comments
 (0)