如果用户通过 SDK 而不是直接通过网络请求与你的 API 交互,你可以使用Documentation Index
Fetch the complete documentation index at: https://mintlify-mintlify-translations-workflow-target-languages-17.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
x-codeSamples 扩展在 OpenAPI 文档中添加代码示例,并将其展示在 OpenAPI 页面中。
将此属性添加到任何请求方法。它具有以下模式。
代码示例所使用的编程语言。
示例的标签。在为同一端点提供多个示例时很有用。
示例的源代码。