KestrelMock icon indicating copy to clipboard operation
KestrelMock copied to clipboard

PathStartsWith doesn't work with the Body(s) operations

Open JasonRowe opened this issue 2 years ago • 0 comments

Right now for the path matches with BodyContains/Array/Regex, but the other Path(startswith or Regex) are kinda single operation. The PathStartsWith and PathRegex kinda do a Body match, but it's incorrect in it's implementation. If you have more than one mock that matches the pathstartswith, you may get a random result with the current implementation.

JasonRowe avatar Oct 01 '24 15:10 JasonRowe