mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
Improve swagger generation (#33664)
Remove most "sed" tricks --------- Co-authored-by: silverwind <me@silverwind.io>
This commit is contained in:
6
templates/swagger/v1_input.json
Normal file
6
templates/swagger/v1_input.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"info": {
|
||||
"version": "{{AppVer | JSEscape}}"
|
||||
},
|
||||
"basePath": "{{AppSubUrl | JSEscape}}/api/v1"
|
||||
}
|
2
templates/swagger/v1_json.tmpl
generated
2
templates/swagger/v1_json.tmpl
generated
@@ -27580,4 +27580,4 @@
|
||||
"TOTPHeader": []
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user