0
votes

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: []```

1

1 Answers