mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-04-29 04:07:26 +02:00
Downgrade Newtonsoft.Json
This commit is contained in:
@@ -247,7 +247,7 @@ namespace WireMock.Server
|
|||||||
{
|
{
|
||||||
ctx.Response.StatusCode = 404;
|
ctx.Response.StatusCode = 404;
|
||||||
|
|
||||||
byte[] content = Encoding.UTF8.GetBytes("<html><body>Mock Server: page not found</body></html>");
|
byte[] content = Encoding.UTF8.GetBytes("No mapping found");
|
||||||
ctx.Response.OutputStream.Write(content, 0, content.Length);
|
ctx.Response.OutputStream.Write(content, 0, content.Length);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"version": "1.0.0.0",
|
"version": "1.0.0.0",
|
||||||
"title": "WireMock.Net",
|
"title": "WireMock.Net",
|
||||||
"description": "Lightweigth Http Mocking Server for .Net, inspired by WireMock from the Java landscape.",
|
"description": "Lightweight Http Mocking Server for .Net, inspired by WireMock from the Java landscape.",
|
||||||
"authors": [ "Alexandre Victoor", "Stef Heyenrath" ],
|
"authors": [ "Alexandre Victoor", "Stef Heyenrath" ],
|
||||||
|
|
||||||
"packOptions": {
|
"packOptions": {
|
||||||
"summary": "Lightweigth Http Mocking Server for .Net, inspired by WireMock from the Java landscape.",
|
"summary": "Lightweight Http Mocking Server for .Net, inspired by WireMock from the Java landscape.",
|
||||||
"tags": [ "tdd", "mock", "http", "wiremock", "test" ],
|
"tags": [ "tdd", "mock", "http", "wiremock", "test", "server", "unittest" ],
|
||||||
"owners": [ "Stef Heyenrath" ],
|
"owners": [ "Stef Heyenrath" ],
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
@@ -28,7 +28,7 @@
|
|||||||
"type": "build"
|
"type": "build"
|
||||||
},
|
},
|
||||||
"Handlebars.Net": "1.8.0",
|
"Handlebars.Net": "1.8.0",
|
||||||
"Newtonsoft.Json": "9.0.1",
|
"Newtonsoft.Json": "6.0.8",
|
||||||
"XPath2": "1.0.3.1"
|
"XPath2": "1.0.3.1"
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user