OpenAPI
将 OpenAPI 规范添加到页面,并让用户在页面上使用交互式区块直接测试端点。
Add a new pet to the store.
必需范围
此端点需要以下范围:
- : modify pets in your account
- : read your pets
授权
OAuth2implicit必填
Authorization URL:
请求体
idinteger · int64可选Example:
10namestring必填Example:
doggiephotoUrlsstring[]必填
statusstring · enum可选可能的值:
pet status in the store
响应
200
Successful operation
400
Invalid input
422
Validation exception
default
Unexpected error
post
/pet试用(由 Scalar 提供支持)
常见问题
最后更新于
这有帮助吗?