OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec (v2, v3)
[ ] [Optional] Sponsorship to speed up the bug fix or feature request (example)
Description
pojo.moustache's CustomTypeAdapterFactory.create populates properties by testing for e.g. primitive types for values. It's else block makes an assumption that if it isn't a primitive type, it must be an object:
Bug Report Checklist
Description
pojo.moustache
'sCustomTypeAdapterFactory.create
populates properties by testing for e.g. primitive types for values. It's else block makes an assumption that if it isn't a primitive type, it must be an object:This fails when considering arrays.
openapi-generator version
master
Suggest a fix
I'll raise a PR.