[PR #1297] [MERGED] Fix BodyParser to correctly check for json #1324

Closed
opened 2025-12-29 09:19:19 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/wiremock/WireMock.Net/pull/1297
Author: @StefH
Created: 5/16/2025
Status: Merged
Merged: 5/21/2025
Merged by: @StefH

Base: masterHead: 1295-bodyparser


📝 Commits (2)

  • 410a212 Fix BodyParser to correctly check for json
  • 9c1ac02 JsonUtils

📊 Changes

7 files changed (+76 additions, -59 deletions)

View changed files

📝 src/WireMock.Net.Abstractions/Models/IBodyDataExtensions.cs (+2 -12)
📝 src/WireMock.Net/Http/HttpRequestMessageHelper.cs (+1 -1)
📝 src/WireMock.Net/Owin/Mappers/OwinResponseMapper.cs (+2 -2)
📝 src/WireMock.Net/Util/BodyParser.cs (+2 -2)
📝 src/WireMock.Net/Util/JsonUtils.cs (+13 -7)
📝 test/WireMock.Net.Tests/Http/HttpRequestMessageHelperTests.cs (+37 -17)
📝 test/WireMock.Net.Tests/Util/BodyParserTests.cs (+19 -18)

📄 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/1297 **Author:** [@StefH](https://github.com/StefH) **Created:** 5/16/2025 **Status:** ✅ Merged **Merged:** 5/21/2025 **Merged by:** [@StefH](https://github.com/StefH) **Base:** `master` ← **Head:** `1295-bodyparser` --- ### 📝 Commits (2) - [`410a212`](https://github.com/wiremock/WireMock.Net/commit/410a212a868b11ddd860a54209b5d27edeb51c55) Fix BodyParser to correctly check for json - [`9c1ac02`](https://github.com/wiremock/WireMock.Net/commit/9c1ac0289aa0d655c9a18672a05f0e2a817d4013) JsonUtils ### 📊 Changes **7 files changed** (+76 additions, -59 deletions) <details> <summary>View changed files</summary> 📝 `src/WireMock.Net.Abstractions/Models/IBodyDataExtensions.cs` (+2 -12) 📝 `src/WireMock.Net/Http/HttpRequestMessageHelper.cs` (+1 -1) 📝 `src/WireMock.Net/Owin/Mappers/OwinResponseMapper.cs` (+2 -2) 📝 `src/WireMock.Net/Util/BodyParser.cs` (+2 -2) 📝 `src/WireMock.Net/Util/JsonUtils.cs` (+13 -7) 📝 `test/WireMock.Net.Tests/Http/HttpRequestMessageHelperTests.cs` (+37 -17) 📝 `test/WireMock.Net.Tests/Util/BodyParserTests.cs` (+19 -18) </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 09:19:19 +01:00
adam closed this issue 2025-12-29 09:19:19 +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#1324