-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add single commit API support #5843
Conversation
routers/api/v1/repo/commits.go
Outdated
) | ||
|
||
// GetSingleCommit get a commit via | ||
func GetSingleCommit(c *context.APIContext) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add swagger docs
@lafriks done and will add tests. |
8ea59b1
to
da2df5b
Compare
Codecov Report
@@ Coverage Diff @@
## master #5843 +/- ##
==========================================
+ Coverage 38.22% 38.28% +0.06%
==========================================
Files 329 330 +1
Lines 48423 48517 +94
==========================================
+ Hits 18510 18576 +66
- Misses 27247 27267 +20
- Partials 2666 2674 +8
Continue to review full report at Codecov.
|
blocked by go-gitea/go-sdk#138Fixes #5535