---
title: "响应字段"
subtitle: "<ResponseField> 记录响应中的一个字段。"
---

记录一个响应字段，名称中的点号前缀会以浅色显示：

```mdx
<ResponseField name="deployment.status" type="string" required pre={["enum"]}>
  `queued`、`building`、`ready`、`failed` 或 `canceled`。
</ResponseField>
<ResponseField name="deployment.url" type="string" post={["只读"]}>
  成功后才有的部署地址。
</ResponseField>
```

<ResponseField name="deployment.status" type="string" required pre={["enum"]}>
  `queued`、`building`、`ready`、`failed` 或 `canceled`。
</ResponseField>
<ResponseField name="deployment.url" type="string" post={["只读"]}>
  成功后才有的部署地址。
</ResponseField>

<ParamField path="name" type="string" required>字段名。</ParamField>
<ParamField path="type" type="string">类型标签。</ParamField>
<ParamField path="pre / post" type="string[]">类型前 / 后的额外标签。</ParamField>
<ParamField path="required / default / deprecated / id" type="">同 `ParamField`；锚点默认 `resp-<名称>`。</ParamField>

嵌套字段用 [`<Expandable>`](./expandable.mdx) 折叠。
