We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug Issues with Swaggo's batch file upload format generation
To Reproduce // @Param files formData []string false "Multi file" format(binary) This will generate the following docs.go
// @Param files formData []string false "Multi file" format(binary)
... "parameters": [ { "type": "array", "format": "binary", "items": { "type": "string" }, "description": "Multi file", "name": "files", "in": "formData" } ], ...
Expected behavior However, if we move "format": "binary" into items, the output will be correct
"parameters": [ { "type": "array", "items": { "type": "string", "format": "binary" }, "description": "Multi file", "name": "files", "in": "formData" } ],
Your swag version 1.16.3
Your go version 1.20
Desktop (please complete the following information):
Additional context So how do we put "format": "binary" into items?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
Issues with Swaggo's batch file upload format generation
To Reproduce
// @Param files formData []string false "Multi file" format(binary)
This will generate the following docs.go
Expected behavior
However, if we move "format": "binary" into items, the output will be correct
Your swag version
1.16.3
Your go version
1.20
Desktop (please complete the following information):
Additional context
So how do we put "format": "binary" into items?
The text was updated successfully, but these errors were encountered: