update swagger docu

This commit is contained in:
6543 2024-05-06 17:22:07 +02:00
parent 28ac602805
commit 0146a0242c
2 changed files with 2 additions and 2 deletions

View File

@ -107,7 +107,7 @@ func Search(ctx *context.APIContext) {
// - name: sort
// in: query
// description: sort repos by attribute. Supported values are
// "alpha", "created", "updated", "size", and "id".
// "alpha", "created", "updated", "size", "git_size", "lfs_size", "num_stars", "num_forks" and "id".
// Default is "alpha"
// type: string
// - name: order

View File

@ -3689,7 +3689,7 @@
},
{
"type": "string",
"description": "sort repos by attribute. Supported values are \"alpha\", \"created\", \"updated\", \"size\", and \"id\". Default is \"alpha\"",
"description": "sort repos by attribute. Supported values are \"alpha\", \"created\", \"updated\", \"size\", \"git_size\", \"lfs_size\", \"num_stars\", \"num_forks\" and \"id\". Default is \"alpha\"",
"name": "sort",
"in": "query"
},