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
This is basically because the schema is not generated recursively (in models.RawModel._schema()). However, in the swagger.json this is done recursively and it is rendered correctly.
The text was updated successfully, but these errors were encountered:
In current HEAD (9b9ad42) the model's schema is not generated correctly if it contains nested models.
Taking into account the following model definition, where I have a nested model defined:
If I access the model's schema, I get the following:
As you can see, the nested models are not defined, resulting in an invalid schema. What I would expect is the following:
This is basically because the schema is not generated recursively (in
models.RawModel._schema()
). However, in theswagger.json
this is done recursively and it is rendered correctly.The text was updated successfully, but these errors were encountered: