Class JsonSchemaInputProcessor

Class for processing JSON Schema

Hierarchy (view full)

Constructors

Properties

MODELGEN_INFFERED_NAME: string = 'x-modelgen-inferred-name'

Methods

  • This is a hotfix and really only a partial solution as it does not cover all cases.

    But it's the best we can do until we find or build a better library to handle references.

    Parameters

    • input: any

    Returns any

  • Ensure schema name using previous name and new part

    Parameters

    • previousName: undefined | string

      to concatenate with

    • Rest ...newParts: any[]

    Returns string