Merge pull request '[GITEA] Make HTTPS schema default for Swagger' (#1896) from Gusted/forgejo:forgejo-swagger-schemas into forgejo-dependency

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/1896
This commit is contained in:
Gusted 2023-12-08 20:26:43 +00:00
commit 7a2ee3340b
2 changed files with 3 additions and 3 deletions

View file

@ -6,7 +6,7 @@
// //
// This documentation describes the Gitea API. // This documentation describes the Gitea API.
// //
// Schemes: http, https // Schemes: https, http
// BasePath: /api/v1 // BasePath: /api/v1
// Version: {{AppVer | JSEscape | Safe}} // Version: {{AppVer | JSEscape | Safe}}
// License: MIT http://opensource.org/licenses/MIT // License: MIT http://opensource.org/licenses/MIT

View file

@ -8,8 +8,8 @@
"text/html" "text/html"
], ],
"schemes": [ "schemes": [
"http", "https",
"https" "http"
], ],
"swagger": "2.0", "swagger": "2.0",
"info": { "info": {