使用 OpenAPI 代理
为什么会有这个功能
为整个规范启用代理
openapi: '3.0.3'
x-enable-proxy: true
info:
title: Example API
version: '1.0.0'
servers:
- url: https://api.example.com为特定操作启用或禁用
openapi: '3.0.3'
info:
title: Example API
version: '1.0.0'
servers:
- url: https://api.example.com
paths:
/reports:
get:
summary: List reports
x-enable-proxy: true
responses:
'200':
description: OK
post:
summary: Create report
x-enable-proxy: false
responses:
'201':
description: Created代理支持什么
安全性
最后更新于
这有帮助吗?