public void CanWriteResponseObjectWithStringTypeToJson()
        {
            // Arrange
            string expect = @"
{
  ""description"": ""A simple string response"",
  ""content"": {
    ""text/plain"": {
      ""schema"": {
        ""type"": ""string""
      }
    }
  }
}".Replace();

            // Act & Assert
            Assert.Equal(expect, _responseWithStringType.WriteToJson());
        }
        public void CanWriteResonseObjectWithComplexToJson()
        {
            // Arrange
            string expect = @"
{
  ""description"": ""A complex object array response"",
  ""content"": {
    ""application/json"": {
      ""schema"": {
        ""type"": ""array"",
        ""items"": {
          ""$ref"": ""#/components/schemas/VeryComplexType""
        }
      }
    }
  }
}".Replace();

            // Act & Assert
            Assert.Equal(expect, _responseWithComplex.WriteToJson());
        }