For the complete documentation index, see llms.txt. This page is also available as Markdown.

运维页面

您可以将 GitBook 页面与 OpenAPI 或 Swagger 文件或 URL 同步,以在文档中包含自动生成的 API 方法。

OpenAPI 模块

GitBook 的 OpenAPI 模块由以下组件提供支持 Scalar,因此您可以直接在文档中测试您的 API。

Add a new pet to the store.

post

Add a new pet to the store.

必需范围
此端点需要以下范围:
  • : modify pets in your account
  • : read your pets
授权
OAuth2implicit必填
Authorization URL:
请求体
idinteger · int64可选Example: 10
namestring必填Example: doggie
photoUrlsstring[]必填
statusstring · enum可选

pet status in the store

可能的值:
响应
200

Successful operation

idinteger · int64可选Example: 10
namestring必填Example: doggie
photoUrlsstring[]必填
statusstring · enum可选

pet status in the store

可能的值:
post/pet