paths:
/pet:
post:
responses:
'429':
description: to many requests in the given timeframe
schema:
$ref: '#/definitions/error'
因为每个路径我都定义了404,401和响应文档。
我可以为所有这样的api定义通用响应
openapi:
responses:
'429':
description: to many requests in the given timeframe
schema:
$ref: '#/definitions/error'