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
|
@ -85,7 +85,7 @@ func Search(ctx *context.APIContext) {
|
||||||
// type: boolean
|
// type: boolean
|
||||||
// - name: is_private
|
// - name: is_private
|
||||||
// in: query
|
// 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
|
// type: boolean
|
||||||
// - name: template
|
// - name: template
|
||||||
// in: query
|
// in: query
|
||||||
|
|
|
@ -4645,7 +4645,7 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "boolean",
|
"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",
|
"name": "is_private",
|
||||||
"in": "query"
|
"in": "query"
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue