简体中文
为同一端点展示不同的响应变体
examples
responses: "200": description: 成功响应 content: application/json: schema: $ref: "#/components/schemas/YourResponseSchema" examples: us: summary: 美国的响应 value: countryCode: "US" currencyCode: "USD" taxRate: 0.0825 gb: summary: 英国的响应 value: countryCode: "GB" currencyCode: "GBP" taxRate: 0.20
此页面对您有帮助吗?