[BUG] `python-flask` incorrect boolean literal in unit tests.
Created by: edupo
Description
Given a model where a property is declared with type bool
and using the openapi-generator-cli
version 5.1.0 and the generator python-flask
the generated test body values reads as follows:
body = {
"boolean_property": true
}
Being true
, not the right literal for expressing a True
value in python (Note the capital T
).
openapi-generator version
5.1.0
Generation Details
Generator python-flask
Suggest a fix
There must be an issue with the defined boolean values in the generator templates.