Class DescriptionBuilderBaseAbstract

DescriptionBuilder is class that can generate description Content blocks for MediaTreeBuilder by OpenAPIV3.SchemaObject

Hierarchy

Constructors

Properties

_options?: IRavageOptions

Methods

  • Generates Content block with min, max, inclusiveMax, inclusiveMin from OpenAPIV3.SchemaObject if it exists

    Parameters

    • prop: SchemaObject

    Returns Promise<Content>

  • Generates Content block with default value for propertie from OpenAPIV3.SchemaObject if it exists

    Parameters

    • prop: SchemaObject

    Returns Promise<Content>

  • Generates Content block with description from OpenAPIV3.SchemaObject if it exists

    Parameters

    • prop: SchemaObject

    Returns Promise<Content>

  • Generates Content block with title from OpenAPIV3.SchemaObject if it exists

    Parameters

    • prop: SchemaObject

    Returns Promise<Content>

  • Generates Content block with pattern value from OpenAPIV3.SchemaObject if it exists

    Parameters

    • prop: SchemaObject

    Returns Promise<Content>

  • Generates Content block with read only or write only from OpenAPIV3.SchemaObject if it exists

    Parameters

    • prop: SchemaObject

    Returns Promise<Content>

  • Generates Content blcok with required red flag from OpenAPIV3.SchemaObject if it exists

    Parameters

    • required: boolean

    Returns Promise<Content>

  • Generates Content block with desctiption for MediaTreeBuilder properties

    Parameters

    • prop: SchemaObject
    • required: boolean

    Returns Promise<Content>

Generated using TypeDoc