Nog CLI Developer Guide - v0.10.5
    Preparing search index...

    Generates a USAGE.md file with comprehensive usage documentation for the generated SDK.

    The generated documentation includes:

    • API metadata (title, version, generation timestamp)
    • Installation instructions
    • Configuration examples
    • Error handling patterns
    • Complete list of available services from the OpenAPI specification

    This writer does not use ts-morph AST manipulation since it generates plain Markdown.

    Index

    Constructors

    Methods

    Constructors

    • Instantiates the usage documentation writer.

      Parameters

      • project: Project

        The ts-morph Project instance (used only for file creation).

      • outputDir: string

        The target directory where USAGE.md will be written.

      • specTitle: string = 'Unknown Spec'

        The OpenAPI specification title.

      • specVersion: string = 'Unknown Version'

        The OpenAPI specification version.

      Returns UsageWriter

    Methods