[PR #186] [MERGED] ContentType "application/vnd.api+json" is not recognized as json #791

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

📋 Pull Request Information

Original PR: https://github.com/wiremock/WireMock.Net/pull/186
Author: @steveland83
Created: 8/17/2018
Status: Merged
Merged: 8/17/2018
Merged by: @StefH

Base: masterHead: bug/json-body


📝 Commits (3)

  • e0f0d9d Admin API GetRequestsAsync Json/JsonApi request body tests
  • a0d0b35 Merge branch 'master' into bug/json-body
  • 712f4ed Fix code + update unit-tests

📊 Changes

4 files changed (+168 additions, -69 deletions)

View changed files

📝 src/WireMock.Net/Util/BodyParser.cs (+8 -2)
test/WireMock.Net.Tests/ClientTests.cs (+0 -63)
📝 test/WireMock.Net.Tests/FluentMockServerAdminRestClientTests.cs (+130 -4)
📝 test/WireMock.Net.Tests/Util/BodyParserTests.cs (+30 -0)

📄 Description

Tests of IFluentMockServerAdmin.GetRequestsAsync() demonstrating that population of the response body does not behave correctly for JsonApi content requests.
(regular Json content works as expected - a test for both added in this PR)


🔄 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/186 **Author:** [@steveland83](https://github.com/steveland83) **Created:** 8/17/2018 **Status:** ✅ Merged **Merged:** 8/17/2018 **Merged by:** [@StefH](https://github.com/StefH) **Base:** `master` ← **Head:** `bug/json-body` --- ### 📝 Commits (3) - [`e0f0d9d`](https://github.com/wiremock/WireMock.Net/commit/e0f0d9df6a8050bc32da4b5d23a499776d341357) Admin API GetRequestsAsync Json/JsonApi request body tests - [`a0d0b35`](https://github.com/wiremock/WireMock.Net/commit/a0d0b35855182d67ee9fd6abfcdad0f7c36b03a7) Merge branch 'master' into bug/json-body - [`712f4ed`](https://github.com/wiremock/WireMock.Net/commit/712f4eda37552404a0c5acf8f2b21b715dd8e43d) Fix code + update unit-tests ### 📊 Changes **4 files changed** (+168 additions, -69 deletions) <details> <summary>View changed files</summary> 📝 `src/WireMock.Net/Util/BodyParser.cs` (+8 -2) ➖ `test/WireMock.Net.Tests/ClientTests.cs` (+0 -63) 📝 `test/WireMock.Net.Tests/FluentMockServerAdminRestClientTests.cs` (+130 -4) 📝 `test/WireMock.Net.Tests/Util/BodyParserTests.cs` (+30 -0) </details> ### 📄 Description Tests of IFluentMockServerAdmin.GetRequestsAsync() demonstrating that population of the response body does not behave correctly for JsonApi content requests. (regular Json content works as expected - a test for both added in this PR) --- <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:33:33 +01:00
adam closed this issue 2025-12-29 08:33:33 +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#791