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
fix#3874 (Examples not working with nested model in array)
fix#3872 (Examples not working when type is union)
Additionally found the following issues that this fix:
- not working when type was `unknown`
- not working with `Record`
Describe the bug
When the
@example
decorator is applied to a model property that references another model, the generated example is invalidReproduction
Declare the following models:
Apply the
@example
decorator to model B as follows:The generated
example:
section in the resultant YAML will look like:which isn't even valid YAML
Checklist
The text was updated successfully, but these errors were encountered: