[PR #3572] [MERGED] Swagger.v1.json template #17005

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

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/3572
Author: @0rzech
Created: 2/23/2018
Status: Merged
Merged: 7/28/2018
Merged by: @lafriks

Base: masterHead: swagger-json-template


📝 Commits (2)

  • c935add Turn swagger.v1.json into template
  • 15bce8f Rename ENABLE_SWAGGER_ENDPOINT option to ENABLE_SWAGGER

📊 Changes

14 files changed (+74 additions, -21 deletions)

View changed files

📝 Makefile (+10 -3)
📝 custom/conf/app.ini.sample (+2 -2)
📝 docs/.gitignore (+1 -0)
📝 modules/context/context.go (+1 -1)
📝 modules/setting/setting.go (+4 -4)
📝 modules/templates/dynamic.go (+14 -2)
📝 modules/templates/static.go (+18 -3)
📝 routers/api/v1/api.go (+2 -2)
📝 routers/api/v1/misc/swagger.go (+1 -1)
📝 routers/routes/routes.go (+5 -1)
routers/swagger_json.go (+14 -0)
📝 templates/base/footer.tmpl (+1 -1)
📝 templates/swagger/ui.tmpl (+0 -0)
📝 templates/swagger/v1_json.tmpl (+1 -1)

📄 Description

Turns swagger.v1.json into template and renames ENABLE_SWAGGER_ENDPOINT option added in #3502 to ENABLE_SWAGGER to better reflect its meaning. Resolves #3499.


🔄 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/3572 **Author:** [@0rzech](https://github.com/0rzech) **Created:** 2/23/2018 **Status:** ✅ Merged **Merged:** 7/28/2018 **Merged by:** [@lafriks](https://github.com/lafriks) **Base:** `master` ← **Head:** `swagger-json-template` --- ### 📝 Commits (2) - [`c935add`](https://github.com/go-gitea/gitea/commit/c935add230fca58cf69b6964c7d7527466b63931) Turn swagger.v1.json into template - [`15bce8f`](https://github.com/go-gitea/gitea/commit/15bce8f4ab8357d026b34f539eb71320177df852) Rename ENABLE_SWAGGER_ENDPOINT option to ENABLE_SWAGGER ### 📊 Changes **14 files changed** (+74 additions, -21 deletions) <details> <summary>View changed files</summary> 📝 `Makefile` (+10 -3) 📝 `custom/conf/app.ini.sample` (+2 -2) 📝 `docs/.gitignore` (+1 -0) 📝 `modules/context/context.go` (+1 -1) 📝 `modules/setting/setting.go` (+4 -4) 📝 `modules/templates/dynamic.go` (+14 -2) 📝 `modules/templates/static.go` (+18 -3) 📝 `routers/api/v1/api.go` (+2 -2) 📝 `routers/api/v1/misc/swagger.go` (+1 -1) 📝 `routers/routes/routes.go` (+5 -1) ➕ `routers/swagger_json.go` (+14 -0) 📝 `templates/base/footer.tmpl` (+1 -1) 📝 `templates/swagger/ui.tmpl` (+0 -0) 📝 `templates/swagger/v1_json.tmpl` (+1 -1) </details> ### 📄 Description Turns `swagger.v1.json` into template and renames `ENABLE_SWAGGER_ENDPOINT` option added in #3502 to `ENABLE_SWAGGER` to better reflect its meaning. Resolves #3499. --- <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:24:03 -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#17005