mirror of
https://github.com/yusing/godoxy.git
synced 2026-02-22 16:58:02 +01:00
fix(docs): remove application/json from /file/content API
This commit is contained in:
@@ -952,7 +952,6 @@
|
||||
"application/json"
|
||||
],
|
||||
"produces": [
|
||||
"application/json",
|
||||
"application/godoxy+yaml"
|
||||
],
|
||||
"tags": [
|
||||
|
||||
@@ -2572,7 +2572,6 @@ paths:
|
||||
- FileTypeProvider
|
||||
- FileTypeMiddleware
|
||||
produces:
|
||||
- application/json
|
||||
- application/godoxy+yaml
|
||||
responses:
|
||||
"200":
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user