mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-11 04:11:18 +01:00
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:
commit
7a2ee3340b
2 changed files with 3 additions and 3 deletions
|
@ -6,7 +6,7 @@
|
|||
//
|
||||
// This documentation describes the Gitea API.
|
||||
//
|
||||
// Schemes: http, https
|
||||
// Schemes: https, http
|
||||
// BasePath: /api/v1
|
||||
// Version: {{AppVer | JSEscape | Safe}}
|
||||
// License: MIT http://opensource.org/licenses/MIT
|
||||
|
|
4
templates/swagger/v1_json.tmpl
generated
4
templates/swagger/v1_json.tmpl
generated
|
@ -8,8 +8,8 @@
|
|||
"text/html"
|
||||
],
|
||||
"schemes": [
|
||||
"http",
|
||||
"https"
|
||||
"https",
|
||||
"http"
|
||||
],
|
||||
"swagger": "2.0",
|
||||
"info": {
|
||||
|
|
Loading…
Reference in a new issue