mirror of
https://github.com/jlengrand/openapi-generator.git
synced 2026-05-12 00:21:18 +00:00
Checking for "trueness" here is not sufficient. An empty list has a truth value of false so it will not be encoded as json and sent as the request body as it should. Instead we need to check explicitly if body is None.