Bug Report Checklist
Description
Map types spec described with additionalProperties are generated incorrectly in spring reactive server code.
Example -
...
requestBody:
description: request
content:
application/json:
schema:
type: object
additionalProperties:
$ref: '#/components/schemas/DummyRequest'
...
- Generated code (for spring server with
reactive="true")
... @Valid @RequestBody Mono<DummyRequest> requestBody, ...
- Expected code (for spring server with
reactive="true")
... @Valid @RequestBody Mono<Map<String, DummyRequest>> requestBody, ...
openapi-generator version
v5.0.0-beta3
Generation Details
generatorName = "spring"
reactive = "true"
Suggest a fix
The template need to be updated.
Bug Report Checklist
Description
Map types spec described with additionalProperties are generated incorrectly in spring reactive server code.
Example -
reactive="true")reactive="true")openapi-generator version
v5.0.0-beta3
Generation Details
Suggest a fix
The template need to be updated.