mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-01-11 21:10:32 +01:00
[PR #186] [MERGED] ContentType "application/vnd.api+json" is not recognized as json #791
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/186
Author: @steveland83
Created: 8/17/2018
Status: ✅ Merged
Merged: 8/17/2018
Merged by: @StefH
Base:
master← Head:bug/json-body📝 Commits (3)
e0f0d9dAdmin API GetRequestsAsync Json/JsonApi request body testsa0d0b35Merge branch 'master' into bug/json-body712f4edFix 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.