文档

HttpApiResponseContract

更新时间:
名称类型描述示例值
object

HTTP API 定义的响应格式

contentTypestring

内应内容类型。

application/json
itemsarray<object>

响应定义。

object
codeinteger

响应码。

200
examplestring

示例值。

{"result": "ok"}
descriptionstring

描述。

正常接口响应
jsonSchemastring

响应体 JSON 定义描述。

{ "type": "object", "required": [ "result" ], "properties": { "result": { "type": "string", "description": "操作结果,'ok' 表示成功" } } }