[PR #2899] [MERGED] Update swagger documentation #16652

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

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/2899
Author: @ethantkoenig
Created: 11/12/2017
Status: Merged
Merged: 11/13/2017
Merged by: @lafriks

Base: masterHead: swagger


📝 Commits (3)

  • d4e9781 Update swagger documentation
  • bf7f223 Restore delete comments
  • 4db6041 Merge branch 'master' into swagger

📊 Changes

72 files changed (+9061 additions, -2509 deletions)

View changed files

📝 Makefile (+0 -2)
📝 modules/auth/repo_form.go (+8 -5)
📝 public/swagger.v1.json (+5636 -1523)
📝 routers/api/v1/admin/org.go (+20 -14)
📝 routers/api/v1/admin/repo.go (+20 -14)
📝 routers/api/v1/admin/user.go (+83 -56)
📝 routers/api/v1/api.go (+9 -14)
📝 routers/api/v1/misc/markdown.go (+30 -20)
📝 routers/api/v1/misc/version.go (+8 -12)
📝 routers/api/v1/org/hook.go (+44 -56)
📝 routers/api/v1/org/member.go (+135 -66)
📝 routers/api/v1/org/org.go (+55 -4)
📝 routers/api/v1/org/team.go (+198 -0)
📝 routers/api/v1/repo/branch.go (+43 -2)
📝 routers/api/v1/repo/collaborators.go (+98 -1)
📝 routers/api/v1/repo/file.go (+69 -2)
📝 routers/api/v1/repo/fork.go (+42 -20)
📝 routers/api/v1/repo/hook.go (+117 -42)
📝 routers/api/v1/repo/issue.go (+106 -0)
📝 routers/api/v1/repo/issue_comment.go (+134 -1)

...and 52 more files

📄 Description

Fixes #2635. This PR fixes the following:

  • Add docs for missing endpoints
  • Add documentation for request parameters
  • Make parameter naming consistent
  • Fix response documentation

This PR has no functional change.


🔄 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/2899 **Author:** [@ethantkoenig](https://github.com/ethantkoenig) **Created:** 11/12/2017 **Status:** ✅ Merged **Merged:** 11/13/2017 **Merged by:** [@lafriks](https://github.com/lafriks) **Base:** `master` ← **Head:** `swagger` --- ### 📝 Commits (3) - [`d4e9781`](https://github.com/go-gitea/gitea/commit/d4e97815d639975792475ab575e72b952450678c) Update swagger documentation - [`bf7f223`](https://github.com/go-gitea/gitea/commit/bf7f223ee5d4afb95f143217bbf13fa18e97bbf8) Restore delete comments - [`4db6041`](https://github.com/go-gitea/gitea/commit/4db60410b13fec2f302a7f9339e1300ef810b03b) Merge branch 'master' into swagger ### 📊 Changes **72 files changed** (+9061 additions, -2509 deletions) <details> <summary>View changed files</summary> 📝 `Makefile` (+0 -2) 📝 `modules/auth/repo_form.go` (+8 -5) 📝 `public/swagger.v1.json` (+5636 -1523) 📝 `routers/api/v1/admin/org.go` (+20 -14) 📝 `routers/api/v1/admin/repo.go` (+20 -14) 📝 `routers/api/v1/admin/user.go` (+83 -56) 📝 `routers/api/v1/api.go` (+9 -14) 📝 `routers/api/v1/misc/markdown.go` (+30 -20) 📝 `routers/api/v1/misc/version.go` (+8 -12) 📝 `routers/api/v1/org/hook.go` (+44 -56) 📝 `routers/api/v1/org/member.go` (+135 -66) 📝 `routers/api/v1/org/org.go` (+55 -4) 📝 `routers/api/v1/org/team.go` (+198 -0) 📝 `routers/api/v1/repo/branch.go` (+43 -2) 📝 `routers/api/v1/repo/collaborators.go` (+98 -1) 📝 `routers/api/v1/repo/file.go` (+69 -2) 📝 `routers/api/v1/repo/fork.go` (+42 -20) 📝 `routers/api/v1/repo/hook.go` (+117 -42) 📝 `routers/api/v1/repo/issue.go` (+106 -0) 📝 `routers/api/v1/repo/issue_comment.go` (+134 -1) _...and 52 more files_ </details> ### 📄 Description Fixes #2635. This PR fixes the following: - Add docs for missing endpoints - Add documentation for request parameters - Make parameter naming consistent - Fix response documentation This PR has no functional change. --- <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:15:34 -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#16652