Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SchemaPropertyRenderer

Renders schema properties. By default, this is simply an identity transform. Subclasses may provide more interesting decorations of each values, such as ANSI coloring.

Hierarchy

  • SchemaPropertyRenderer

Index

Methods

renderDescription

  • renderDescription(description: string): string
  • Renders a description.

    Parameters

    • description: string

      The description value to render.

    Returns string

renderName

  • renderName(name: string): string
  • Renders a name.

    Parameters

    • name: string

      The name value to render.

    Returns string

renderTitle

  • renderTitle(title: string): string
  • Renders a title.

    Parameters

    • title: string

      The title value to render.

    Returns string

renderType

  • renderType(propertyType: string): string
  • Renders a type.

    Parameters

    • propertyType: string

      The type value to render.

    Returns string