Skip to content

Incompatible with Express 5 #113

@roni45

Description

@roni45

Problem Description
When using openapi-ts-router with Express v5, the application throws the following error at runtime:

TypeError: Missing parameter name at 2: https://git.new/pathToRegexpError

This error originates from the internal path-to-regexp logic used by Express when setting up routes provided by openapi-ts-router.

Environment
openapi-ts-router: 0.2.14
express: ^5.1.0,
Node.js: v22.12.0
OS: (Windows)
pnpm:9.15.2

Observations
When switching back to Express v4, everything works as expected.

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