public void CanWriteExampleObjectAsReferenceObjectYaml()
        {
            // Arrange
            string expect = @"$ref: #/components/schemas/Address";

            OpenApiExample example = new OpenApiExample
            {
                Reference = new OpenApiReference("#/components/schemas/Address")
            };

            // Act & Assert
            Assert.Equal(expect, example.WriteToYaml());
        }
        public void CanWriteBasicExampleObjectAsYaml()
        {
            // Arrange
            string expect = @"
summary: A bar example
description: A bar example description
value: 
".Replace();

            OpenApiExample example = new OpenApiExample
            {
                Summary     = "A bar example",
                Description = "A bar example description",
                Value       = new OpenApiAny()
            };

            // Act & Assert
            Assert.Equal(expect, example.WriteToYaml());
        }