浏览代码

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>
tags/v1.21.1
Giteabot 6 个月前
父节点
当前提交
994ba35f11
没有帐户链接到提交者的电子邮件
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1
    1
      routers/api/v1/api.go
  2. 1
    1
      templates/swagger/v1_json.tmpl

+ 1
- 1
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.
//

+ 1
- 1
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"

正在加载...
取消
保存