mirror of
https://github.com/wiremock/WireMock.Net.git
synced 2026-11-28 19:22:48 +01:00
Use DefaultJsonSerializer for BodyAsJson-Response (#1448)
This commit is contained in:
1 parent
1e591d5f8a
commit
885911203b
6 files changed
+291
-237
No files matched your search
@@ -414,6 +414,7 @@ public partial class WireMockServer : IWireMockServer
|
||||
_options.CorsPolicyOptions = _settings.CorsPolicyOptions;
|
||||
_options.ClientCertificateMode = (Microsoft.AspNetCore.Server.Kestrel.Https.ClientCertificateMode)_settings.ClientCertificateMode;
|
||||
_options.AcceptAnyClientCertificate = _settings.AcceptAnyClientCertificate;
|
||||
_options.DefaultJsonSerializer = _settings.DefaultJsonSerializer;
|
||||
|
||||
_httpServer = new AspNetCoreSelfHost(_options, urlOptions);
|
||||
var startTask = _httpServer.StartAsync();
|
||||
|
||||
Reference in new issue
Block a user