跳到导航

最后更新时间前置属性

您现在可以使用新的 last-updated 前置属性在页面页脚显示”最后更新”消息。这有助于读者了解内容的最后修改时间。

---
title: API Reference
last-updated: December 9, 2025
---

日期在页面反馈下方以小文本原样显示,因此您可以使用任何您偏好的日期格式。

阅读文档

API 参考文档描述的页脚组件

您现在可以在 API 端点描述中使用 <Footer> 组件,添加在响应部分下方页面底部渲染的内容。这对于相关链接、附加上下文或在端点文档末尾更有意义的注释很有用。

api/openapi.yml
paths:
/plants:
get:
summary: List all plants
description: |
Get a list of all plants in the system.
<Footer>
## Related endpoints
- [Create a plant](/api-reference/plants/create)
- [Update a plant](/api-reference/plants/update)
</Footer>
阅读文档