har2api - v0.1.0
    Preparing search index...

    Function inferSchema

    • Infer a JSON Schema from one or more example values. Pass every sample you have for the same endpoint/body — more samples yield a tighter schema. Returns an empty schema ({}) when no samples are provided.

      Parameters

      • samples: readonly unknown[]

      Returns JsonSchema