The problem of generating API by gin-swagger

as the title: gin cooperates with swagger to generate restful api documents. But the rendering result is a little different from the imagination.

...
...
"parameters": [
                    {
                        "type": "file",
                        "description": "",
                        "name": "email",
                        "in": "formData",
                        "required": true
                    },
                    {
                        "type": "file",
                        "description": "",
                        "name": "username",
                        "in": "formData",
                        "required": true
                    },
                    {
                        "type": "file",
                        "description": "",
                        "name": "password",
                        "in": "formData",
                        "required": true
                    }
                ],
                ...
                ...

Why is the format different before and after generation?

Mar.07,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e785ab-464b2.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e785ab-464b2.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?