Browse Source

Fix swagger title (#28164)

![image](https://github.com/go-gitea/gitea/assets/18380374/380859b2-a643-42fd-b53e-78c93c05c826)
Don't know why there's a `.` behind. 🤔
tags/v1.22.0-rc0
yp05327 6 months ago
parent
commit
4d0eba8e0a
No account linked to committer's email address
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      routers/api/v1/api.go
  2. 1
    1
      templates/swagger/v1_json.tmpl

+ 1
- 1
routers/api/v1/api.go View File

@@ -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 View File

@@ -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"

Loading…
Cancel
Save