File tree 2 files changed +6
-6
lines changed 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -604,7 +604,7 @@ func GetContentsList(ctx *context.APIContext) {
604
604
func GetFileHistory (ctx * context.APIContext ) {
605
605
// swagger:operation GET /repos/{owner}/{repo}/git/history/{filepath} repository repoGetFileHistory
606
606
// ---
607
- // summary: Get a file's commit history
607
+ // summary: Get a file's or directory's commit history
608
608
// produces:
609
609
// - application/json
610
610
// parameters:
@@ -620,12 +620,12 @@ func GetFileHistory(ctx *context.APIContext) {
620
620
// required: true
621
621
// - name: filepath
622
622
// in: path
623
- // description: filepath of the file to get
623
+ // description: filepath of the file/directory
624
624
// type: string
625
625
// required: true
626
626
// - name: ref
627
627
// in: query
628
- // description: "The name of the commit/ branch/tag . Default the repository’s default branch (usually master)"
628
+ // description: "The name of the branch. Default the repository’s default branch (usually master)"
629
629
// type: string
630
630
// required: false
631
631
// - name: page
Original file line number Diff line number Diff line change 3660
3660
"tags": [
3661
3661
"repository"
3662
3662
],
3663
- "summary": "Get a file's commit history",
3663
+ "summary": "Get a file's or directory's commit history",
3664
3664
"operationId": "repoGetFileHistory",
3665
3665
"parameters": [
3666
3666
{
3679
3679
},
3680
3680
{
3681
3681
"type": "string",
3682
- "description": "filepath of the file to get ",
3682
+ "description": "filepath of the file/directory ",
3683
3683
"name": "filepath",
3684
3684
"in": "path",
3685
3685
"required": true
3686
3686
},
3687
3687
{
3688
3688
"type": "string",
3689
- "description": "The name of the commit/ branch/tag . Default the repository’s default branch (usually master)",
3689
+ "description": "The name of the branch. Default the repository’s default branch (usually master)",
3690
3690
"name": "ref",
3691
3691
"in": "query"
3692
3692
},
You can’t perform that action at this time.
0 commit comments