File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,8 @@ nav_order: 1
10
10
The OpenAPI specification defines a couple of basic [ data types] [ openapi-spec-types ] {: target ="_ blank"}.
11
11
The basic data types are built-in into the processor. That means it will map the basic types automatically
12
12
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.
13
15
14
16
## OpenAPI to Java type mapping
15
17
@@ -24,11 +26,12 @@ The following table shows the automatic mapping of OpenAPIs primitive types to J
24
26
` number ` | ` float ` | ` java.lang.Float `
25
27
` number ` | ` double ` | ` java.lang.Double `
26
28
` 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
29
31
` boolean ` | | ` java.lang.Boolean `
30
32
` string ` | ` date ` | ` java.time.LocalDate `
31
33
` string ` | ` date-time ` | ` java.time.OffsetDataTime `
32
- ` string ` | ` password ` | ignored
34
+ ` string ` | ` password ` | no default mapping
35
+
33
36
34
37
[ openapi-spec-types ] : https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.2.md#dataTypes
You can’t perform that action at this time.
0 commit comments