Fix swagger title (#28164) (#28167)

Backport #28164 by @yp05327

![image](https://github.com/go-gitea/gitea/assets/18380374/380859b2-a643-42fd-b53e-78c93c05c826)
Don't know why there's a `.` behind. 🤔

Co-authored-by: yp05327 <576951401@qq.com>
(cherry picked from commit 994ba35f11)
This commit is contained in:
Giteabot 2023-11-22 17:06:38 +08:00 committed by Earl Warren
parent b0afde6d64
commit 62474c84cc
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00
2 changed files with 2 additions and 2 deletions

View file

@ -2,7 +2,7 @@
// Copyright 2016 The Gitea Authors. All rights reserved. // Copyright 2016 The Gitea Authors. All rights reserved.
// SPDX-License-Identifier: MIT // SPDX-License-Identifier: MIT
// Package v1 Gitea API. // Package v1 Gitea API
// //
// This documentation describes the Gitea API. // This documentation describes the Gitea API.
// //

View file

@ -14,7 +14,7 @@
"swagger": "2.0", "swagger": "2.0",
"info": { "info": {
"description": "This documentation describes the Gitea API.", "description": "This documentation describes the Gitea API.",
"title": "Gitea API.", "title": "Gitea API",
"license": { "license": {
"name": "MIT", "name": "MIT",
"url": "http://opensource.org/licenses/MIT" "url": "http://opensource.org/licenses/MIT"