fix(api): wrong "accept" type in file set and validate API

This commit is contained in:
yusing
2025-08-16 17:31:11 +08:00
parent 52324fbef2
commit 1e78a0a0a0
5 changed files with 12 additions and 12 deletions

View File

@@ -20,7 +20,7 @@ type ValidateFileRequest struct {
// @Summary Validate file
// @Description Validate file
// @Tags file
// @Accept json
// @Accept text/plain
// @Produce json
// @Param type query FileType true "Type"
// @Param file body string true "File content"