Skip to content

Instantly share code, notes, and snippets.

View gregsdennis's full-sized avatar

Greg Dennis gregsdennis

View GitHub Profile
@gregsdennis
gregsdennis / IncrementalJsonSchemaBuilderExtensions.cs
Created April 10, 2021 08:08
Possible approach for incremental schema building
using System.Collections.Generic;
using System.Linq;
namespace Json.Schema
{
/// <summary>
/// Provides a fluent interface for <see cref="JsonSchemaBuilder"/>.
/// </summary>
public static class IncrementalJsonSchemaBuilderExtensions
{