Skip to content

Conversation

@fjtirado
Copy link
Contributor

@fjtirado fjtirado commented Feb 17, 2025

Fix #991

@fjtirado fjtirado requested a review from a team as a code owner February 17, 2025 17:34
@fjtirado fjtirado force-pushed the Fix_#991 branch 3 times, most recently from f660e74 to 7057584 Compare February 17, 2025 18:26
Copy link
Contributor

@gmunozfe gmunozfe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, awesome work @fjtirado , just one question for a not-matching test

private static Stream<Arguments> providePathsThatNotMatch() {
return Stream.of(
Arguments.of("/pets/{id}", "/pes/1"),
Arguments.of("/{id}/pepe", "/1/2/pep"));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In this case it doesn't match because "pep" vs "pepe", but however
Arguments.of("/{id}/pepe", "/1/2/pepe"));
matches, is it correct? The placeholder should only contain one id, not two, wdyt?

masayag added a commit to rhdhorchestrator/orchestrator-demo that referenced this pull request Feb 18, 2025
The jar file was created based on PR quarkiverse/quarkus-openapi-generator#992 to solve an issue with URL matching.
@ricardozanini ricardozanini merged commit 43746ea into quarkiverse:main Feb 18, 2025
9 checks passed
ricardozanini pushed a commit that referenced this pull request Feb 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

URLPatternMatcher not matching non trivial file paths

4 participants