diff --git a/src/api/api.go b/src/api/api.go index c709575..e08b454 100644 --- a/src/api/api.go +++ b/src/api/api.go @@ -77,8 +77,8 @@ func Start() *fiber.App { } // Version -// @Summary Show the status of server. -// @Description get the status of server. +// @Summary Show the version of server. +// @Description get the version of server. // @Tags Version // @Accept */* // @Produce json @@ -95,8 +95,8 @@ func handlerVersion(c *fiber.Ctx) error { } // Metadata -// @Summary Show the status of server. -// @Description get the status of server. +// @Summary Show the metadata of server. +// @Description get the metadata of server. // @Tags Version // @Accept */* // @Produce json diff --git a/src/api/docs/docs.go b/src/api/docs/docs.go index d0c9cce..ce18baa 100644 --- a/src/api/docs/docs.go +++ b/src/api/docs/docs.go @@ -1427,7 +1427,7 @@ const docTemplate = `{ }, "/metadata": { "get": { - "description": "get the status of server.", + "description": "get the metadata of server.", "consumes": [ "*/*" ], @@ -1437,7 +1437,7 @@ const docTemplate = `{ "tags": [ "Version" ], - "summary": "Show the status of server.", + "summary": "Show the metadata of server.", "responses": { "200": { "description": "OK", @@ -1451,7 +1451,7 @@ const docTemplate = `{ }, "/version": { "get": { - "description": "get the status of server.", + "description": "get the version of server.", "consumes": [ "*/*" ], @@ -1461,7 +1461,7 @@ const docTemplate = `{ "tags": [ "Version" ], - "summary": "Show the status of server.", + "summary": "Show the version of server.", "responses": { "200": { "description": "OK", diff --git a/src/api/docs/swagger.json b/src/api/docs/swagger.json index 1ce42c1..68fcc7a 100644 --- a/src/api/docs/swagger.json +++ b/src/api/docs/swagger.json @@ -1419,7 +1419,7 @@ }, "/metadata": { "get": { - "description": "get the status of server.", + "description": "get the metadata of server.", "consumes": [ "*/*" ], @@ -1429,7 +1429,7 @@ "tags": [ "Version" ], - "summary": "Show the status of server.", + "summary": "Show the metadata of server.", "responses": { "200": { "description": "OK", @@ -1443,7 +1443,7 @@ }, "/version": { "get": { - "description": "get the status of server.", + "description": "get the version of server.", "consumes": [ "*/*" ], @@ -1453,7 +1453,7 @@ "tags": [ "Version" ], - "summary": "Show the status of server.", + "summary": "Show the version of server.", "responses": { "200": { "description": "OK", diff --git a/src/api/docs/swagger.yaml b/src/api/docs/swagger.yaml index 0c2235b..d089c60 100644 --- a/src/api/docs/swagger.yaml +++ b/src/api/docs/swagger.yaml @@ -1277,7 +1277,7 @@ paths: get: consumes: - '*/*' - description: get the status of server. + description: get the metadata of server. produces: - application/json responses: @@ -1286,14 +1286,14 @@ paths: schema: additionalProperties: true type: object - summary: Show the status of server. + summary: Show the metadata of server. tags: - Version /version: get: consumes: - '*/*' - description: get the status of server. + description: get the version of server. produces: - application/json responses: @@ -1302,7 +1302,7 @@ paths: schema: additionalProperties: true type: object - summary: Show the status of server. + summary: Show the version of server. tags: - Version swagger: "2.0"