File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
docs/content/administration Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -1040,10 +1040,11 @@ Gitea 创建以下非唯一队列:
10401040
10411041## API (` api ` )
10421042
1043- - ` ENABLE_SWAGGER ` : ** true** : 是否启用swagger路由 (` /api/swagger ` , ` /api/v1/swagger ` , …)。
1044- - ` MAX_RESPONSE_ITEMS ` : ** 50** : 单个页面的最大 Feed.
1045- - ` ENABLE_OPENID_SIGNIN ` : ** false** : 允许使用OpenID登录,当设置为` true ` 时可以通过 ` /user/login ` 页面进行OpenID登录。
1046- - ` DISABLE_REGISTRATION ` : ** false** : 关闭用户注册。
1043+ - ` ENABLE_SWAGGER ` : ** true** : 启用API文档接口 (` /api/swagger ` , ` /api/v1/swagger ` , …). True or false。
1044+ - ` MAX_RESPONSE_ITEMS ` : ** 50** : API分页的最大单页项目数。
1045+ - ` DEFAULT_PAGING_NUM ` : ** 30** : API分页的默认分页数。
1046+ - ` DEFAULT_GIT_TREES_PER_PAGE ` : ** 1000** : Git trees API的默认单页项目数。
1047+ - ` DEFAULT_MAX_BLOB_SIZE ` : ** 10485760** (10MiB): blobs API的默认最大文件大小。
10471048
10481049## OAuth2 (` oauth2 ` )
10491050
You can’t perform that action at this time.
0 commit comments