Class AbstractGenerator<Options, RenderCompleteModelOptions>Abstract

Abstract generator which must be implemented by each language

Type Parameters

Hierarchy

Constructors

Properties

languageName: string
options: Options

Methods

  • Generates the full output of a model, instead of a scattered model.

    OutputModels result is no longer the model itself, but including package, package dependencies and model dependencies.

    Parameters

    • input: any
    • completeOptions: Partial<RenderCompleteModelOptions>

    Returns Promise<OutputModel[]>

  • Get all presets (default and custom ones from options) for a given preset type (class, enum, etc).

    Parameters

    • presetType: string

    Returns [Partial<any>, unknown][]

Generated using TypeDoc