mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-06-21 08:30:50 +00:00
fix: document that /repos/{owner}/{repo}/pulls may contain nulls (#7762)
The null means a server side bug prevents the pull request from being retrieved. Closes https://codeberg.org/forgejo/forgejo/issues/6571 Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/7762 Reviewed-by: Michael Kriese <michael.kriese@gmx.de> Reviewed-by: Gusted <gusted@noreply.codeberg.org> Co-authored-by: Earl Warren <contact@earl-warren.org> Co-committed-by: Earl Warren <contact@earl-warren.org>
This commit is contained in:
parent
b7b70dbaf2
commit
aec8f4c57a
2 changed files with 2 additions and 2 deletions
|
@ -47,7 +47,7 @@ import (
|
||||||
func ListPullRequests(ctx *context.APIContext) {
|
func ListPullRequests(ctx *context.APIContext) {
|
||||||
// swagger:operation GET /repos/{owner}/{repo}/pulls repository repoListPullRequests
|
// 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:
|
// produces:
|
||||||
// - application/json
|
// - application/json
|
||||||
// parameters:
|
// parameters:
|
||||||
|
|
2
templates/swagger/v1_json.tmpl
generated
2
templates/swagger/v1_json.tmpl
generated
|
@ -12767,7 +12767,7 @@
|
||||||
"tags": [
|
"tags": [
|
||||||
"repository"
|
"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",
|
"operationId": "repoListPullRequests",
|
||||||
"parameters": [
|
"parameters": [
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue