schema-components - v3.7.0
    Preparing search index...

    Function mergeRefSiblings

    • Merge annotation siblings from the referencing node onto the resolved target's annotations. The referencer wins for annotations.

      Structural keywords on the referencer are NOT merged — per spec, $ref with structural siblings was invalid pre-2019-09.

      Returns a new meta object with the merged annotations.

      Parameters

      • referencer: Record<string, unknown>
      • resolvedMeta: Record<string, unknown>

      Returns Record<string, unknown>