• Returns a copy of the schema (deep) where if any subschema does not have a title, one will be created. The subschemas can be considered a tree of schemas, and in this case, we are resolving titles on the leaves of the tree. Think depth first traversal, but where the internal nodes' titles are not resolved until it's entire subtree is complete.

    Returns

    Deep schema copy of the input schema where the schema and all sub schemas have titles.

    Parameters

    • s: JSONSchema

      The schema to ensure has names for it and all subschemas of it.

    Returns JSONSchema

Generated using TypeDoc