PDFDoc is class that builds pdf document from OpenAPI specification.

Hierarchy

  • PDFDoc

Constructors

Properties

_allContent: Content
_doc: TCreatedPdf
_documentDef: TDocumentDefinitions
_options: IRavageOptions
_pdfPartsBuilder: PdfPartBuilder

Methods

  • Parameters

    • currentPage: number
    • pageCount: number

    Returns Content

  • Writes pdf doc to file

    Parameters

    • filePath: string

    Returns Promise<void>

Generated using TypeDoc