Releases: openapi-processor/openapi-processor-spring
Releases · openapi-processor/openapi-processor-spring
1.0.0.M5
improvements
-
#56/#57 support request body with
multipart/form-data
. For file upload the OpenAPI schemastring
with formatbinary
must be type mapped toorg.springframework.web.multipart.MultipartFile
:map: paths: /api/upload: types: - from: string:binary to: org.springframework.web.multipart.MultipartFile
fixes
1.0.0.A3
- #43, full data type mapping support (type, parameter & response, endpoint, endpoint parameter & response) on primitive, array and object schemas.
- #6, support for parameter default values
@RequestParam(.. defaultValue = ...)
on primitive types (string, integer, number, boolean) - #33, enum support for string type. The generatr will create an enum class for a string schema with an enum property list.
1.0.0.A2
Improved:
- #9, create valid java identifiers & map model object property names with
@JsonProperty
- #24, support for
requestBody:
parameter - #21, support for
-in: path
endpoint parameters - #22, support for
-in: header
endpoint parameters - #23, support for
in: cookie
endpoint parameters - #3, default mapping of
string:date-time
tojava.time.OffsetDateTime
- #7, support for mapping simple types only for a specific format (e.g.
string:date-time
)