Fixed typo in health endpoint api docs.

This commit is contained in:
Patrick Connolly
2018-11-29 04:04:44 +08:00
parent e98db116cf
commit 77a932edb8
4 changed files with 5 additions and 5 deletions

View File

@@ -112,7 +112,7 @@ func (b *API) Send(msg config.Message) (string, error) {
// @Summary Checks if the server is alive.
// @Description OK
// @Success 200 {string} string
// @Router /api/health [get]
// @Router /health [get]
func (b *API) handleHealthcheck(c echo.Context) error {
return c.String(http.StatusOK, "OK")
}