mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-21 16:01:22 +02:00
fix(docs): remove application/json from /file/content API
This commit is contained in:
@@ -952,7 +952,6 @@
|
|||||||
"application/json"
|
"application/json"
|
||||||
],
|
],
|
||||||
"produces": [
|
"produces": [
|
||||||
"application/json",
|
|
||||||
"application/godoxy+yaml"
|
"application/godoxy+yaml"
|
||||||
],
|
],
|
||||||
"tags": [
|
"tags": [
|
||||||
|
|||||||
@@ -2572,7 +2572,6 @@ paths:
|
|||||||
- FileTypeProvider
|
- FileTypeProvider
|
||||||
- FileTypeMiddleware
|
- FileTypeMiddleware
|
||||||
produces:
|
produces:
|
||||||
- application/json
|
|
||||||
- application/godoxy+yaml
|
- application/godoxy+yaml
|
||||||
responses:
|
responses:
|
||||||
"200":
|
"200":
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ type GetFileContentRequest struct {
|
|||||||
// @Description Get file content
|
// @Description Get file content
|
||||||
// @Tags file
|
// @Tags file
|
||||||
// @Accept json
|
// @Accept json
|
||||||
// @Produce json,application/godoxy+yaml
|
// @Produce application/godoxy+yaml
|
||||||
// @Param query query GetFileContentRequest true "Request"
|
// @Param query query GetFileContentRequest true "Request"
|
||||||
// @Success 200 {string} application/godoxy+yaml "File content"
|
// @Success 200 {string} application/godoxy+yaml "File content"
|
||||||
// @Failure 400 {object} apitypes.ErrorResponse
|
// @Failure 400 {object} apitypes.ErrorResponse
|
||||||
|
|||||||
Reference in New Issue
Block a user