Skip to content

REST Path Parameter Collisions for full_api_network_map #164

Closed

Description

@squid-protocol

Different frameworks use wildly different syntax for dynamic URL parameters, which rarely matches the official OpenAPI {variable} standard.

Swagger/OpenAPI: /users/{userId}

Express/Fastify: /users/:userId

Flask: /users/int:user_id

Laravel: /users/{user_id}

If your physical codebase is Node.js, your engine will extract GET /users/:userId. When it compares that to the Swagger set containing GET /users/{userId}, it will treat them as two completely different endpoints, resulting in massive false positives. You need a normalization function to convert framework-specific parameter syntax into a standardized wildcard (like {*}) before performing the set math.

Activity

  1. added
    component: shadow-api
    bug
    priority: high
    on Jul 11, 2026
  2. added this to the v2.4.0 milestone on Jul 11, 2026
  3. added a commit that references this issue on Jul 20, 2026
    7dcfa0c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugcomponent: shadow-apipriority: high

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions