mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-01-11 21:10:32 +01:00
[PR #1317] [MERGED] Set description when converting MappingModel to IRespondWithAProvider #1336
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/1317
Author: @BodrickLight
Created: 6/12/2025
Status: ✅ Merged
Merged: 6/14/2025
Merged by: @StefH
Base:
master← Head:dl/description📝 Commits (1)
60545c4Set description when converting MappingModel to IRespondWithAProvider📊 Changes
2 files changed (+11 additions, -2 deletions)
View changed files
📝
src/WireMock.Net.Minimal/Server/WireMockServer.ConvertMapping.cs(+5 -0)📝
test/WireMock.Net.Tests/AdminApi/WireMockAdminApiTests.PostMappings.cs(+6 -2)📄 Description
Adding a mapping with a description to
WireMockServer.WithMappingdid not include the description to the resultingIRespondWithAProvider, which means that callingWireMockServer.SavePactdoes not populate the description in the contract file.This PR includes the description when mapping from
MappingModeltoIRespondWithAProvider.Submitter checklist
#help-contributingor a project-specific channel like#wiremock-java🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.