5 references to SharedTestJsonContext
Microsoft.AspNetCore.Http.Extensions.Tests (5)
RequestDelegateGenerator\RequestDelegateCreationTests.JsonBodyOrService.cs (1)
216
serviceCollection.ConfigureHttpJsonOptions(o => o.SerializerOptions.TypeInfoResolver =
SharedTestJsonContext
.Default);
RequestDelegateGenerator\RequestDelegateCreationTests.Responses.cs (4)
307
serviceCollection.ConfigureHttpJsonOptions(o => o.SerializerOptions.TypeInfoResolver =
SharedTestJsonContext
.Default);
349
o.SerializerOptions.TypeInfoResolverChain.Insert(0,
SharedTestJsonContext
.Default);
350
o.SerializerOptions.TypeInfoResolver =
SharedTestJsonContext
.Default;
382
serviceCollection.ConfigureHttpJsonOptions(o => o.SerializerOptions.TypeInfoResolver =
SharedTestJsonContext
.Default);