I am trying to have basic authentication on below defined api. i have disabled default security using x-wso2-disable-security: true but it also disables rate limiting defined on it. No sure why this is the case.
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: []```
This has been fixed[2] in the newest version(3.1.0) of microgateway[1]
[1] - https://github.com/wso2/product-microgateway/releases/tag/v3.1.0
[2] - https://github.com/wso2/product-microgateway/issues/1099