Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add name for wildcard express path #66

Merged
merged 1 commit into from
Jan 15, 2025

Conversation

mabayed
Copy link
Contributor

@mabayed mabayed commented Jan 15, 2025

Running a openapi-factory api locally fails when it has a {proxy+} route.

Turned out express 5 requires a name for wildcard paths:
https://expressjs.com/en/guide/migrating-5.html#path-syntax

The wildcard * must have a name, matching the behavior of parameters :, use /*splat instead of /*

@wparad
Copy link
Member

wparad commented Jan 15, 2025

Good find!

@wparad wparad merged commit c091dfc into Authress-Engineering:release/6.7 Jan 15, 2025
1 check passed
@thoean
Copy link
Contributor

thoean commented Jan 15, 2025

Best team members ever! (Both of you.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants