mirror of
1
Fork 0

[v10.0/forgejo] fix(api): typo in API description for `repoSearch` (#7202)

**Backport:** https://codeberg.org/forgejo/forgejo/pulls/7199

Corrected miss-spelled description for the `is_private` field on `repoSearch`, in which 'public' was spelled as 'pubic'.

Co-authored-by: luxzi <lesson085@gmail.com>
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/7202
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Co-authored-by: forgejo-backport-action <forgejo-backport-action@noreply.codeberg.org>
Co-committed-by: forgejo-backport-action <forgejo-backport-action@noreply.codeberg.org>
This commit is contained in:
forgejo-backport-action 2025-03-11 14:03:19 +00:00 committed by Gusted
parent 0c0155daf7
commit e7d103319e
2 changed files with 2 additions and 2 deletions

View File

@ -85,7 +85,7 @@ func Search(ctx *context.APIContext) {
// type: boolean
// - name: is_private
// in: query
// description: show only pubic, private or all repositories (defaults to all)
// description: show only public, private or all repositories (defaults to all)
// type: boolean
// - name: template
// in: query

View File

@ -4455,7 +4455,7 @@
},
{
"type": "boolean",
"description": "show only pubic, private or all repositories (defaults to all)",
"description": "show only public, private or all repositories (defaults to all)",
"name": "is_private",
"in": "query"
},