docs(contracts): locale fallback wording on public endpoints
Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
@@ -783,7 +783,7 @@ paths:
|
||||
schema:
|
||||
$ref: '#/components/schemas/PublicAlbum'
|
||||
'400':
|
||||
description: 查询参数校验失败(VALIDATION_FAILED)。
|
||||
description: 查询参数校验失败(VALIDATION_FAILED;locale 取值不支持时不报错,按 defaultLocale 回退)。
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
@@ -832,7 +832,7 @@ paths:
|
||||
schema:
|
||||
$ref: '#/components/schemas/PublicPhotoList'
|
||||
'400':
|
||||
description: 查询参数校验失败(VALIDATION_FAILED)。
|
||||
description: 查询参数校验失败(category/cursor/limit;locale 取值不支持时不报错,按 defaultLocale 回退)。
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
@@ -935,7 +935,7 @@ components:
|
||||
LocaleQuery:
|
||||
name: locale
|
||||
in: query
|
||||
description: 请求语言;缺省时按相册 defaultLocale 回退。
|
||||
description: 请求语言;缺省或取值不支持时按相册 defaultLocale 回退(不报 400,响应 resolvedLocale 指示实际返回语言)。
|
||||
schema:
|
||||
$ref: '#/components/schemas/Locale'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user