0

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

4

1 回答 1

1

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

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

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

于 2020-04-01T16:48:37.990 回答