Skip to content

Extensions

Alex Wichmann edited this page Jun 11, 2025 · 2 revisions
document.Extensions = new Dictionary<string, IAsyncApiExtension>
{
    ["boolean"] = new AsyncApiAny(false),
    ["string"] = new AsyncApiAny("test"),
    ["decimal"] = new AsyncApiAny(2.2),
    ["int"] = new AsyncApiAny(1),
    ["array"] = new AsyncApiAny(new List<string>()),
    ["object"] = new AsyncApiAny(new { test = 123 }),
};
Clone this wiki locally