1 instantiation of Square
Microsoft.AspNetCore.OpenApi.Tests (1)
Transformers\SchemaTransformerTests.cs (1)
551builder.MapGet("/list", () => new List<Shape> { new Triangle { Hypotenuse = 12, Color = "blue", Sides = 3 }, new Square { Area = 24, Color = "red ", Sides = 4 } });
4 references to Square
Microsoft.AspNetCore.OpenApi.Tests (4)
Shared\SharedTypes.Polymorphism.cs (1)
8[JsonDerivedType(typeof(Square), typeDiscriminator: "square")]
Transformers\SchemaTransformerTests.cs (3)
560if (context.JsonTypeInfo.Type == typeof(Square)) 601if (context.JsonTypeInfo.Type == typeof(Square)) 642if (context.JsonTypeInfo.Type == typeof(Square))