8 references to AssertJsonResponse
Microsoft.AspNetCore.OpenApi.Tests (8)
Services\OpenApiGeneratorTests.cs (8)
161
AssertJsonResponse
(GetOpenApiOperation(() => new InferredJsonClass()), JsonSchemaType.Object);
162
AssertJsonResponse
(GetOpenApiOperation(() => (IInferredJsonInterface)null), JsonSchemaType.Object);
163
AssertJsonResponse
(GetOpenApiOperation(() => Task.FromResult(new InferredJsonClass())), JsonSchemaType.Object);
164
AssertJsonResponse
(GetOpenApiOperation(() => Task.FromResult((IInferredJsonInterface)null)), JsonSchemaType.Object);
165
AssertJsonResponse
(GetOpenApiOperation(() => ValueTask.FromResult(new InferredJsonClass())), JsonSchemaType.Object);
166
AssertJsonResponse
(GetOpenApiOperation(() => ValueTask.FromResult((IInferredJsonInterface)null)), JsonSchemaType.Object);
167
AssertJsonResponse
(GetOpenApiOperation(() => FSharp.Core.ExtraTopLevelOperators.DefaultAsyncBuilder.Return(new InferredJsonClass())), JsonSchemaType.Object);
168
AssertJsonResponse
(GetOpenApiOperation(() => FSharp.Core.ExtraTopLevelOperators.DefaultAsyncBuilder.Return((IInferredJsonInterface)null)), JsonSchemaType.Object);