You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the else part, if x is a dictionary, meaning value is a list of dictionaries, model_to_dict fails. Because x is not a valid and model_to_dict, assuming it to be a model, tries to access the _composed_schemas.
openapi-generator version
master build and released v5.0.1
Suggest a fix
Check if x is a model by checking if it has the _data_store property. This was the approach before the 5th Jan commit to this file. #8387
The text was updated successfully, but these errors were encountered:
Bug Report Checklist
Description
In the
else
part, if x is a dictionary, meaningvalue
is a list of dictionaries,model_to_dict
fails. Because x is not a valid andmodel_to_dict
, assuming it to be a model, tries to access the_composed_schemas
.openapi-generator version
master build and released v5.0.1
Suggest a fix
Check if x is a model by checking if it has the
_data_store
property. This was the approach before the 5th Jan commit to this file.#8387
The text was updated successfully, but these errors were encountered: