fix comments

This commit is contained in:
KOUNOIKE
2018-10-07 12:27:00 +09:00
parent cd49e9b25a
commit 2c3a1b011c
4 changed files with 6 additions and 4 deletions

View File

@@ -61,13 +61,11 @@ trait ApiRepositoryBranchControllerBase extends ControllerBase {
/*
* iii. Get branch protection
* https://developer.github.com/v3/repos/branches/#get-branch-protection
* Not Implemented.
*/
/*
* iv. Update branch protection
* https://developer.github.com/v3/repos/branches/#update-branch-protection
* Not implemented
*/
/*

View File

@@ -15,12 +15,11 @@ trait ApiRepositoryCommitControllerBase extends ControllerBase {
self: AccountService with CommitsService with ReferrerAuthenticator =>
/*
* i. List commits on a repository
* https://developer.github.com/v3/repos/commits/#list-commits-on-a-repository
*/
/*
* ii. Get a single commit
*/
/**
* https://developer.github.com/v3/repos/commits/#get-a-single-commit
*/
get("/api/v3/repos/:owner/:repository/commits/:sha")(referrersOnly { repository =>
@@ -71,13 +70,16 @@ trait ApiRepositoryCommitControllerBase extends ControllerBase {
/*
* iii. Get the SHA-1 of a commit reference
* https://developer.github.com/v3/repos/commits/#get-the-sha-1-of-a-commit-reference
*/
/*
* iv. Compare two commits
* https://developer.github.com/v3/repos/commits/#compare-two-commits
*/
/*
* v. Commit signature verification
* https://developer.github.com/v3/repos/commits/#commit-signature-verification
*/
}

View File

@@ -8,6 +8,7 @@ import gitbucket.core.util.{JGitUtil, ReferrerAuthenticator, WritableUsersAuthen
trait ApiRepositoryStatusControllerBase extends ControllerBase {
self: AccountService with CommitStatusService with ReferrerAuthenticator with WritableUsersAuthenticator =>
/*
* i. Create a status
* https://developer.github.com/v3/repos/statuses/#create-a-status

View File

@@ -42,4 +42,5 @@ trait ApiUserControllerBase extends ControllerBase {
* v. Get all users
* https://developer.github.com/v3/users/#get-all-users
*/
}