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
Describe the bug
When a sub-entity of a request has a field of its own type, the resulting schema doesn't reference itself. It works well if the request (the top-level type) references itself, but not for sub-entities.
Describe the bug
When a sub-entity of a request has a field of its own type, the resulting schema doesn't reference itself. It works well if the request (the top-level type) references itself, but not for sub-entities.
To Reproduce
Playground
Expected behavior
components.schemas.SubEntity.properties.self
should have a$ref
field with the value'#/components/schemas/SubEntity'
.Also
SubEntity.self
hasnullable
set astrue
but I am not sure if it is normal, asReq.self
has not.The text was updated successfully, but these errors were encountered: