[PR #881] [MERGED] Add WithBodyAsJson builder method with accepts a Func #1130

Closed
opened 2025-12-29 08:34:50 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/wiremock/WireMock.Net/pull/881
Author: @StefH
Created: 2/1/2023
Status: Merged
Merged: 2/6/2023
Merged by: @StefH

Base: masterHead: WithBodyAsJson_Func


📝 Commits (2)

  • f17962f Add WithBodyAsJson builder method with accepts a Func
  • 61a8e80 ut

📊 Changes

4 files changed (+154 additions, -29 deletions)

View changed files

📝 examples/WireMock.Net.Console.Net452.Classic/MainApp.cs (+34 -1)
📝 src/WireMock.Net/ResponseBuilders/IBodyResponseBuilder.cs (+17 -1)
📝 src/WireMock.Net/ResponseBuilders/Response.WithBody.cs (+39 -5)
📝 test/WireMock.Net.Tests/ResponseBuilders/ResponseWithBodyTests.cs (+64 -22)

📄 Description

No description provided


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/wiremock/WireMock.Net/pull/881 **Author:** [@StefH](https://github.com/StefH) **Created:** 2/1/2023 **Status:** ✅ Merged **Merged:** 2/6/2023 **Merged by:** [@StefH](https://github.com/StefH) **Base:** `master` ← **Head:** `WithBodyAsJson_Func` --- ### 📝 Commits (2) - [`f17962f`](https://github.com/wiremock/WireMock.Net/commit/f17962f553252bc393e3083c451f32c67341ddb7) Add WithBodyAsJson builder method with accepts a Func - [`61a8e80`](https://github.com/wiremock/WireMock.Net/commit/61a8e802937fb8e01bec760cf7a3c62e5e0dea08) ut ### 📊 Changes **4 files changed** (+154 additions, -29 deletions) <details> <summary>View changed files</summary> 📝 `examples/WireMock.Net.Console.Net452.Classic/MainApp.cs` (+34 -1) 📝 `src/WireMock.Net/ResponseBuilders/IBodyResponseBuilder.cs` (+17 -1) 📝 `src/WireMock.Net/ResponseBuilders/Response.WithBody.cs` (+39 -5) 📝 `test/WireMock.Net.Tests/ResponseBuilders/ResponseWithBodyTests.cs` (+64 -22) </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 08:34:50 +01:00
adam closed this issue 2025-12-29 08:34:50 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/WireMock.Net#1130