32 lines
715 B
YAML

components:
headers:
# 响应内容类型
ContentType:
description: 响应内容类型
schema:
type: string
enum:
- "application/xml; charset=GBK"
- "application/json; charset=UTF-8"
# 响应时间戳
ResponseTime:
description: 服务端响应时间戳
schema:
type: string
format: date-time
example: "2024-01-01T12:00:00.000Z"
# 请求追踪ID
RequestId:
description: 请求追踪标识
schema:
type: string
example: "req_123456789012"
# 服务版本
ServiceVersion:
description: 服务端版本号
schema:
type: string
example: "1.0.1"