Documentation
    Preparing search index...
    • Generates TypeScript types from an OpenAPI specification file and writes them to the specified destination path.

      Parameters

      • openapiPath: string
      • destinationPath: string
      • options: {
            addTypedRequestHandler?: boolean;
            inject?: string;
            shouldFormat?: boolean;
            transform?: (
                schemaObject: SchemaObject,
                metadata: TransformNodeOptions,
            ) => TypeNode | TransformObject | undefined;
        }

      Returns Promise<void>