fix(swagger): explicit set type names for IconFetchResult and IconMetaSearch

This commit is contained in:
yusing
2026-01-16 12:26:14 +08:00
parent 9d6e3fdc87
commit 7ed6c53f6b
4 changed files with 101 additions and 100 deletions

View File

@@ -29,7 +29,7 @@ type Result struct {
StatusCode int
contentType string
}
} // @name IconFetchResult
func FetchResultWithErrorf(statusCode int, msgFmt string, args ...any) (Result, error) {
return Result{StatusCode: statusCode}, fmt.Errorf(msgFmt, args...)