fix(docs): remove application/json from /file/content API

This commit is contained in:
yusing
2026-02-18 19:13:00 +08:00
parent a12bdeaf55
commit 8756baf7fc
3 changed files with 1 additions and 3 deletions

View File

@@ -952,7 +952,6 @@
"application/json"
],
"produces": [
"application/json",
"application/godoxy+yaml"
],
"tags": [

View File

@@ -2572,7 +2572,6 @@ paths:
- FileTypeProvider
- FileTypeMiddleware
produces:
- application/json
- application/godoxy+yaml
responses:
"200":

View File

@@ -30,7 +30,7 @@ type GetFileContentRequest struct {
// @Description Get file content
// @Tags file
// @Accept json
// @Produce json,application/godoxy+yaml
// @Produce application/godoxy+yaml
// @Param query query GetFileContentRequest true "Request"
// @Success 200 {string} application/godoxy+yaml "File content"
// @Failure 400 {object} apitypes.ErrorResponse