diff --git a/routers/api/v1/api.go b/routers/api/v1/api.go index 00c57e2cce..25fa0d779c 100644 --- a/routers/api/v1/api.go +++ b/routers/api/v1/api.go @@ -2,7 +2,7 @@ // Copyright 2016 The Gitea Authors. All rights reserved. // SPDX-License-Identifier: MIT -// Package v1 Gitea API. +// Package v1 Gitea API // // This documentation describes the Gitea API. // diff --git a/templates/swagger/v1_json.tmpl b/templates/swagger/v1_json.tmpl index 02dec64e78..1c4c60804a 100644 --- a/templates/swagger/v1_json.tmpl +++ b/templates/swagger/v1_json.tmpl @@ -14,7 +14,7 @@ "swagger": "2.0", "info": { "description": "This documentation describes the Gitea API.", - "title": "Gitea API.", + "title": "Gitea API", "license": { "name": "MIT", "url": "http://opensource.org/licenses/MIT"