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
We have a tree node struct as soon as we generate docs children is composed as string whereas we are expecting an object. We have tried making separate children struct but after 1 level it also i can still see Children as string instead of object
type Node struct {
ID int `json:"id"`
Name string `json:"name"`
Children []Node `json:"children"`
}
Describe the bug
We have a tree node struct as soon as we generate docs children is composed as
string
whereas we are expecting an object. We have tried making separate children struct but after 1 level it also i can still see Children as string instead of objectExpected behavior
Screenshots
Your swag version
v1.16.2
Your go version
go1.21.3
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: