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
I saw there is {array} definition in response annotation, but I don't know how to make an array as the parameter. Here is the example:
// @Param notification body push.ModelList true "balabala"
type ModelList []Model
Then I got: panic: ParseDefinitions not supported 'Array' yet.
To Reproduce
Steps to reproduce the behavior:
Run swag init
Expected behavior
Support array in parameters annotation.
Your swag version
github.com/swaggo/gin-swagger v1.0.0
github.com/swaggo/swag v1.4.0
The text was updated successfully, but these errors were encountered:
// @Param Message body api.X true "tips"
when I use swag init,I got this message in api difinition:Unknown Type:int64
so,I wonder if any solution for this question?
or, this is just my fault for body type which I want to define an array type.
Describe the bug
I saw there is
{array}
definition in response annotation, but I don't know how to make an array as the parameter. Here is the example:// @Param notification body push.ModelList true "balabala"
type ModelList []Model
Then I got:
panic: ParseDefinitions not supported 'Array' yet.
To Reproduce
Steps to reproduce the behavior:
swag init
Expected behavior
Support array in parameters annotation.
Your swag version
github.com/swaggo/gin-swagger v1.0.0
github.com/swaggo/swag v1.4.0
The text was updated successfully, but these errors were encountered: