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
Expected behavior
Generics with function scoped types use correct schema names.
Your swag version
I use the HEAD of the master branch. Current latest commit hash: 10030b02b48c59c73e6c4fd07e3256b61aff339f.
No issue before this commit.
Your go version
1.22.6
Desktop (please complete the following information):
OS: Fedora 40
The text was updated successfully, but these errors were encountered:
Describe the bug
After the #1866 PR, using generics with function scoped types returns wrong schema names which collide and overwrites each other.
To Reproduce
I created a simple project to reproduce the bug. You can follow the README to reproduce it.
Repo: https://github.com/berk-karaal/swag-generic-func-scoped-structs-bug
Expected behavior
Generics with function scoped types use correct schema names.
Your swag version
I use the HEAD of the
master
branch. Current latest commit hash:10030b02b48c59c73e6c4fd07e3256b61aff339f
.No issue before this commit.
Your go version
1.22.6
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: