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. 🤔
pull/28101/head^2
yp05327 1 year ago committed by GitHub
parent 2d9b91aa24
commit 4d0eba8e0a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      routers/api/v1/api.go
  2. 2
      templates/swagger/v1_json.tmpl

@ -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.
// //

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

Loading…
Cancel
Save