Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "obj.to.root"

A function to find all nested objects (not $ref references) and move them to the root of the symbol tree and replace with with local #/ $refs.

module

objToRoot

Index

Functions

Functions

default

  • default(payload: FilePayload[], callback: Function): void
  • A function to find all nested objects (not $ref references) and move them to the root of the symbol tree and replace with with local #/ $refs.

    Parameters

    • payload: FilePayload[]

      The files to look at

    • callback: Function

      The callback to raise when it is done. It will get 2 parameters, a standard err parameter and payload of the entire symbol tree

    Returns void

Generated using TypeDoc