openapi-generator: [BUG] Version 4 no longer supports additionalProperties with boolean value
Description
Generator no longer supports additonalProperties with boolean value. Error -attribute components.schemas.<...>.additionalProperties is not of type 'object' being returned for such.
openapi-generator version
It’s regression for 4.0.0
OpenAPI declaration file content or url
{
"type": "object",
"additionalProperties": true
}
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Reactions: 2
- Comments: 15 (13 by maintainers)
Seems like stalled issue. And yet it forces me to not use validation in production code. Can something be done about it?
cc @wing328 @jmini
This appears fixed for me with the parser v2.0.13-OpenAPITools.org-2 which is included in recent 4.0.3 snapshots (I tried
openapi-generator-cli-4.0.3-20190708.092710-73). So hopefully this will be resolved in the 4.0.3 release.@ricellis I really appreciate your feedback on this. It helps to close issue.
@ricellis thanks for confirming the issue has been addressed. Issue closed.