Skip to content

Commit 1fdd130

Browse files
authored
feature: Use strict operation path matching (#52)
1 parent d394828 commit 1fdd130

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

openapi-validation-core/src/main/java/com/getyourguide/openapi/validation/core/OpenApiInteractionValidatorFactory.java

+1
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ private SingleSpecOpenApiInteractionValidatorWrapper buildSingleSpecOpenApiInter
8080
.withResolveRefs(true)
8181
.withResolveCombinators(true) // Inline to avoid problems with allOf
8282
.withLevelResolver(buildLevelResolver(levelResolverLevels, levelResolverDefaultLevel))
83+
.withStrictOperationPathMatching()
8384
.build();
8485
return new SingleSpecOpenApiInteractionValidatorWrapper(validator);
8586
} catch (Throwable e) {

0 commit comments

Comments
 (0)