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
In v3.1 mode, if the return object is in generic form with slice as a generic argument (ex. Wrapper[[]Data]), it will cause the program to crash by segmentation error.
This problem seem to not occur in swagger-v2 mode, and -v3.1 mode in rc3.
To Reproduce
Create a new route with generic type as a return type
Describe the bug
In v3.1 mode, if the return object is in generic form with slice as a generic argument (ex. Wrapper[[]Data]), it will cause the program to crash by segmentation error.
This problem seem to not occur in swagger-v2 mode, and -v3.1 mode in rc3.
To Reproduce
swag init -v3.1 -g ./main.go
Expected behavior
To run successfully
Screenshots
Your swag version
v2.0.0-rc4
Your go version
e.g. 1.22.5
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: