Layer 7 API Management

Expand all | Collapse all

API GW 9.2: IDEA regarding to swagger wizard and swagger.json context variables

  • 1.  API GW 9.2: IDEA regarding to swagger wizard and swagger.json context variables

    Posted 04-18-2018 08:04 AM

    IDEA regarding to match method described in paths section of a swagger with apiUri got from request: We have a requirement to get from the apiUri variable in a request the path that matches with it in a swagger.json doc. It seems that API GW is able to do it but there is no variable which could be seen from customer. Do you think API GW could provide a variable with this information?

    Thanks



  • 2.  Re: API GW 9.2: IDEA regarding to swagger wizard and swagger.json context variables

    Posted 01-22-2019 03:22 PM

    Good afternoon,

     

    The variable that is set for the HTTP Method used by the gateway is contained in ${request.http.method} and then with ${sw.apiUri} should get all that you need. Gather both after the Validate Against Swagger Document to ensure that it is validated.

     

    Sincerely,

     

    Stephen Hughes

    Broadcom Support