1
1
mirror of https://github.com/go-gitea/gitea synced 2025-08-05 09:08:22 +00:00

move swagger-ui to webpack/npm (#9714)

Created a second webpack output file for swagger-ui which is loaded on
the /api/swagger route. One notable difference is the absence of the
swagger favicon that was previously used which is now the gitea icon. I
see no easy way to restore that favicon, so I decided to not keep it.
This commit is contained in:
silverwind
2020-01-14 19:02:08 +01:00
committed by techknowlogick
parent 44de66bf50
commit f00961abe7
19 changed files with 875 additions and 462 deletions

View File

@@ -4,6 +4,9 @@
"engines": {
"node": ">=10"
},
"dependencies": {
"swagger-ui": "3.24.3"
},
"devDependencies": {
"@babel/core": "7.7.7",
"@babel/plugin-transform-runtime": "7.7.6",