2021.1
-
jars are published on maven central (was jcenter).
-
openapi-processor/openapi-processor-core#53, add
@RequestParam
annotation to mapped data types if the source OpenAPI type was a simple data type, i.e. integer, number, boolean or string.Background: the processor did not add annotations to mapped data types because Spring doesn't need (or allow) parameter annotations for model object (pojo) parameters. In case of a (simple data type) mapping like this:
openapi-processor-mapping: v2 map: types: - type: string:uuid => java.util.UUID
this simple logic fails because it assumes that the source data type is an
object
data type. In case of a simple source data type Spring needs the@RequestParam
annotation to bind it. -
updated openapi-processor-core to 2021.1 (was 2020.1). See the core release notes for details.