[PR #2746] [MERGED] Move swagger-ui under /api/v1 #16567

Closed
opened 2025-11-02 12:13:36 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/2746
Author: @sapk
Created: 10/19/2017
Status: Merged
Merged: 10/21/2017
Merged by: @lunny

Base: masterHead: move-swagger-url


📝 Commits (7)

  • 0cd5810 Move swagger interface under /api/v1
  • f2007d5 Update swagger-ui
  • d22cbed Add /api/swagger and prepare for multiple api version
  • 4e41685 Update test links
  • 0b74cc0 Fix footer link
  • db280a0 Merge branch 'master' into move-swagger-url
  • f857d38 Merge branch 'master' into move-swagger-url

📊 Changes

17 files changed (+166 additions, -192 deletions)

View changed files

📝 Makefile (+2 -2)
📝 integrations/links_test.go (+4 -2)
📝 public/vendor/assets/swagger-ui/index.html (+7 -5)
📝 public/vendor/assets/swagger-ui/oauth2-redirect.html (+14 -40)
📝 public/vendor/assets/swagger-ui/swagger-ui-bundle.js (+86 -104)
📝 public/vendor/assets/swagger-ui/swagger-ui-bundle.js.map (+1 -1)
📝 public/vendor/assets/swagger-ui/swagger-ui-standalone-preset.js (+12 -7)
📝 public/vendor/assets/swagger-ui/swagger-ui-standalone-preset.js.map (+1 -1)
📝 public/vendor/assets/swagger-ui/swagger-ui.css (+1 -1)
📝 public/vendor/assets/swagger-ui/swagger-ui.js (+7 -14)
📝 public/vendor/assets/swagger-ui/swagger-ui.js.map (+1 -1)
📝 routers/api/v1/api.go (+3 -0)
routers/api/v1/misc/swagger.go (+19 -0)
📝 routers/home.go (+0 -7)
📝 routers/routes/routes.go (+0 -1)
📝 templates/base/footer.tmpl (+1 -1)
📝 templates/swagger.tmpl (+7 -5)

📄 Description

Fix #2745 & update swagger-ui version


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-gitea/gitea/pull/2746 **Author:** [@sapk](https://github.com/sapk) **Created:** 10/19/2017 **Status:** ✅ Merged **Merged:** 10/21/2017 **Merged by:** [@lunny](https://github.com/lunny) **Base:** `master` ← **Head:** `move-swagger-url` --- ### 📝 Commits (7) - [`0cd5810`](https://github.com/go-gitea/gitea/commit/0cd581043caba26c6fc053165f1a73ab1a038a25) Move swagger interface under /api/v1 - [`f2007d5`](https://github.com/go-gitea/gitea/commit/f2007d5adec90012b1bc98d6e73c9d5d83684a2c) Update swagger-ui - [`d22cbed`](https://github.com/go-gitea/gitea/commit/d22cbed1c3c9d93e5ff0ec76edb92febe001cec8) Add /api/swagger and prepare for multiple api version - [`4e41685`](https://github.com/go-gitea/gitea/commit/4e41685a05de021f98381b6bb48d2315c1c3921d) Update test links - [`0b74cc0`](https://github.com/go-gitea/gitea/commit/0b74cc0f817d7d9e730407f9015ea35c4d812889) Fix footer link - [`db280a0`](https://github.com/go-gitea/gitea/commit/db280a08da57a3004c06975b6837041afc34a37b) Merge branch 'master' into move-swagger-url - [`f857d38`](https://github.com/go-gitea/gitea/commit/f857d3859cbe60995e824020c982b3fc712179c5) Merge branch 'master' into move-swagger-url ### 📊 Changes **17 files changed** (+166 additions, -192 deletions) <details> <summary>View changed files</summary> 📝 `Makefile` (+2 -2) 📝 `integrations/links_test.go` (+4 -2) 📝 `public/vendor/assets/swagger-ui/index.html` (+7 -5) 📝 `public/vendor/assets/swagger-ui/oauth2-redirect.html` (+14 -40) 📝 `public/vendor/assets/swagger-ui/swagger-ui-bundle.js` (+86 -104) 📝 `public/vendor/assets/swagger-ui/swagger-ui-bundle.js.map` (+1 -1) 📝 `public/vendor/assets/swagger-ui/swagger-ui-standalone-preset.js` (+12 -7) 📝 `public/vendor/assets/swagger-ui/swagger-ui-standalone-preset.js.map` (+1 -1) 📝 `public/vendor/assets/swagger-ui/swagger-ui.css` (+1 -1) 📝 `public/vendor/assets/swagger-ui/swagger-ui.js` (+7 -14) 📝 `public/vendor/assets/swagger-ui/swagger-ui.js.map` (+1 -1) 📝 `routers/api/v1/api.go` (+3 -0) ➕ `routers/api/v1/misc/swagger.go` (+19 -0) 📝 `routers/home.go` (+0 -7) 📝 `routers/routes/routes.go` (+0 -1) 📝 `templates/base/footer.tmpl` (+1 -1) 📝 `templates/swagger.tmpl` (+7 -5) </details> ### 📄 Description Fix #2745 & update swagger-ui version --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-02 12:13:36 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#16567