diff --git a/routers/api/v1/repo/pull.go b/routers/api/v1/repo/pull.go index 0a2ff03c7e..8456dcff59 100644 --- a/routers/api/v1/repo/pull.go +++ b/routers/api/v1/repo/pull.go @@ -47,7 +47,7 @@ import ( func ListPullRequests(ctx *context.APIContext) { // swagger:operation GET /repos/{owner}/{repo}/pulls repository repoListPullRequests // --- - // summary: List a repo's pull requests + // summary: List a repo's pull requests. If a pull request is selected but fails to be retrieved for any reason, it will be a null value in the list of results. // produces: // - application/json // parameters: diff --git a/templates/swagger/v1_json.tmpl b/templates/swagger/v1_json.tmpl index ff9f0f15b9..c2f8538c28 100644 --- a/templates/swagger/v1_json.tmpl +++ b/templates/swagger/v1_json.tmpl @@ -12767,7 +12767,7 @@ "tags": [ "repository" ], - "summary": "List a repo's pull requests", + "summary": "List a repo's pull requests. If a pull request is selected but fails to be retrieved for any reason, it will be a null value in the list of results.", "operationId": "repoListPullRequests", "parameters": [ {