wso2 微网关 x-wso2-disable-security=true 禁用节流

wso2 micro-gateway x-wso2-disable-security=true disable throttling

我正在尝试对下面定义的 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: []```

这已在微网关的最新版本 (3.1.0) 中修复[2][1]

[1] - https://github.com/wso2/product-microgateway/releases/tag/v3.1.0

[2] - https://github.com/wso2/product-microgateway/issues/1099