mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-03-12 06:32:17 -05:00
fix(api): typo in API description for repoSearch
(#7199)
Corrected miss-spelled description for the `is_private` field on `repoSearch`, in which 'public' was spelled as 'pubic'. Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/7199 Reviewed-by: Gusted <gusted@noreply.codeberg.org> Co-authored-by: luxzi <lesson085@gmail.com> Co-committed-by: luxzi <lesson085@gmail.com>
This commit is contained in:
parent
54ec6daa2d
commit
7c05c8faac
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
2
templates/swagger/v1_json.tmpl
generated
2
templates/swagger/v1_json.tmpl
generated
|
@ -4645,7 +4645,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"
|
||||
},
|
||||
|
|
Loading…
Add table
Reference in a new issue