Improve swagger generation (#33664)
Remove most "sed" tricks --------- Co-authored-by: silverwind <me@silverwind.io>
This commit is contained in:
parent
f2fbb897f3
commit
4adb7cad8b
6 changed files with 17 additions and 12 deletions
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": []
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue