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 I specify a parameter as a slice of a custom struct in the body, it produces invalid output. The schema type is set to the name of the struct instead of 'array'.
Describe the bug
When I specify a parameter as a slice of a custom struct in the body, it produces invalid output. The schema type is set to the name of the struct instead of 'array'.
To Reproduce
Specify a Param as follows
It produces the following schema:
Expected behavior
Schema should be:
Your swag version
v1.6.3
Your go version
1.12.3
Desktop (please complete the following information):
Additional context
N/A
The text was updated successfully, but these errors were encountered: