diff --git a/docs/docs.go b/docs/docs.go index 2b4917a..9a2f76d 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -63,7 +63,7 @@ const docTemplate = `{ } }, "/api/v1/test": { - "post": { + "get": { "description": "Demo样例测试", "consumes": [ "application/json" diff --git a/docs/swagger.json b/docs/swagger.json index da9d712..f8f7399 100644 --- a/docs/swagger.json +++ b/docs/swagger.json @@ -57,7 +57,7 @@ } }, "/api/v1/test": { - "post": { + "get": { "description": "Demo样例测试", "consumes": [ "application/json" diff --git a/docs/swagger.yaml b/docs/swagger.yaml index 501ecf3..723e358 100644 --- a/docs/swagger.yaml +++ b/docs/swagger.yaml @@ -102,7 +102,7 @@ paths: tags: - 对象存储 /api/v1/test: - post: + get: consumes: - application/json description: Demo样例测试