mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-01-11 06:10:30 +01:00
[PR #1377] [MERGED] Check if the path is valid when using WithPath(...) #1367
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/wiremock/WireMock.Net/pull/1377
Author: @StefH
Created: 11/8/2025
Status: ✅ Merged
Merged: 11/8/2025
Merged by: @StefH
Base:
master← Head:stef-1376-WithPath📝 Commits (1)
a4b0e47Check if the path is valid when using WithPath(...)📊 Changes
12 files changed (+82 additions, -10 deletions)
View changed files
📝
src/WireMock.Net.Abstractions/Admin/Mappings/MatcherModel.cs(+1 -1)📝
src/WireMock.Net.Abstractions/BuilderExtensions/RequestModelBuilder.cs(+8 -2)➕
src/WireMock.Net.Abstractions/Validators/PathValidator.cs(+19 -0)📝
src/WireMock.Net.Minimal/RequestBuilders/Request.WithPath.cs(+5 -0)📝
test/WireMock.Net.Tests/Serialization/MappingConverterTests.ToCSharpCode.cs(+1 -1)📝
test/WireMock.Net.Tests/Serialization/MappingConverterTests.ToCSharpCode_With_Builder_And_AddStartIsFalse.verified.txt(+1 -1)📝
test/WireMock.Net.Tests/Serialization/MappingConverterTests.ToCSharpCode_With_Builder_And_AddStartIsTrue.verified.txt(+1 -1)📝
test/WireMock.Net.Tests/Serialization/MappingConverterTests.ToCSharpCode_With_Server_And_AddStartIsFalse.verified.txt(+1 -1)📝
test/WireMock.Net.Tests/Serialization/MappingConverterTests.ToCSharpCode_With_Server_And_AddStartIsTrue.verified.txt(+1 -1)📝
test/WireMock.Net.Tests/Serialization/ProxyMappingConverterTests.ToMapping_UseDefinedRequestMatchers_True.verified.txt(+1 -1)📝
test/WireMock.Net.Tests/Serialization/ProxyMappingConverterTests.cs(+1 -1)➕
test/WireMock.Net.Tests/Validators/PathValidatorTests.cs(+42 -0)📄 Description
No description provided
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.