openapi-parser icon indicating copy to clipboard operation
openapi-parser copied to clipboard

How to identify the parameter value in the path url ?

Open Huiicat opened this issue 2 years ago • 1 comments

We input the swagger file, and like:

"/api/open/v1/teams/{team_id}/users": {
      "get": {
        "summary": "TBD",
        "tags": [
          "Teams::Users"
        ],
        "parameters": [
          {
            "name": "team_id",
            "in": "path",
            "schema": {
              "type": "integer",
              "example": 1
            },
            "required": true,
            "description": "TBD"
          }
        ]
    }
}

However, the parameter {team_id} is not changed to the defined integer example: "1" when doing an active scan. How should we let it know to get the change? Thank you.

Huiicat avatar Jul 18 '23 07:07 Huiicat

Not working for me either. Suggest its not currently supported in current version and needs a PR to fix.

AkikoOrenji avatar Mar 25 '25 23:03 AkikoOrenji