我正在尝试对以下定义的 api 进行基本身份验证。我已经使用x-wso2-disable-security: true禁用了默认安全性,但它也禁用了对其定义的速率限制。不知道为什么会这样。
paths:
/public/rt/PING:
get:
description: ""
operationId: PING
x-wso2-throttling-tier: 6PerMin
x-wso2-disable-security: true
x-wso2-request-interceptor: setAuthHeaderInRequest
responses:
"200":
description: Successful response
content:
application/json:
schema:
$ref: "#/components/schemas/PING"
application/xml:
schema:
$ref: "#/components/schemas/PING"
security:
- basicAuthentication: []```