Basic (primitive) mappings
The OpenAPI specification defines a couple of basic data types. The basic data types are built-in into the processor. That means it will map the basic types automatically to a corresponding java type. There is no explicit type mapping required.
The types with no default mapping can be mapped to a java type using the mapping configuration.
OpenAPI to Java type mapping
The following table shows the automatic mapping of OpenAPIs primitive types to Java.
type |
format |
java type |
---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
no default mapping |
|
|
no default mapping |
|
|
|
|
|
|
|
|
no default mapping |