8 references to AssertJsonResponse
Microsoft.AspNetCore.OpenApi.Tests (8)
Services\OpenApiGeneratorTests.cs (8)
157
AssertJsonResponse
(GetOpenApiOperation(() => new InferredJsonClass()), "object");
158
AssertJsonResponse
(GetOpenApiOperation(() => (IInferredJsonInterface)null), "object");
159
AssertJsonResponse
(GetOpenApiOperation(() => Task.FromResult(new InferredJsonClass())), "object");
160
AssertJsonResponse
(GetOpenApiOperation(() => Task.FromResult((IInferredJsonInterface)null)), "object");
161
AssertJsonResponse
(GetOpenApiOperation(() => ValueTask.FromResult(new InferredJsonClass())), "object");
162
AssertJsonResponse
(GetOpenApiOperation(() => ValueTask.FromResult((IInferredJsonInterface)null)), "object");
163
AssertJsonResponse
(GetOpenApiOperation(() => FSharp.Core.ExtraTopLevelOperators.DefaultAsyncBuilder.Return(new InferredJsonClass())), "object");
164
AssertJsonResponse
(GetOpenApiOperation(() => FSharp.Core.ExtraTopLevelOperators.DefaultAsyncBuilder.Return((IInferredJsonInterface)null)), "object");