swaggo / gin-swagger

gin middleware to automatically generate RESTful API documentation with Swagger 2.0.
MIT License
3.76k stars 270 forks source link

enhancement: support generic struct #251

Open neilbowman666 opened 1 year ago

neilbowman666 commented 1 year ago

Support generic struct for gin-swagger please. ~#(QAQ)#~

of which we can use to indicate the packing type in our swagger comment. // @Success 201 {object} pack.Pack[User]