Skip to content

Routes without x-method_name all get the same name (request_func) and replace each other #26

Closed

Description

@thorwhalen

Follow-up from the adversarial review of #24. When a spec route has no x-method_name, mk_request_function keeps the default function name, so every such route registers as request_func and only the last survives (#24 now warns about the duplicate). Derive a name from operationId, or from method + path, when x-method_name is absent.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions