---
lang: en
title: 'API docs: tsdocs.apidocsoptions'
keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI
sidebar: lb4_sidebar
editurl: https://github.com/loopbackio/loopback-next/tree/master/packages/tsdocs
permalink: /doc/en/lb4/apidocs.tsdocs.apidocsoptions.html
---

<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@loopback/tsdocs](./tsdocs.md) &gt; [ApiDocsOptions](./tsdocs.apidocsoptions.md)

## ApiDocsOptions interface

Options for api docs

**Signature:**

```typescript
export interface ApiDocsOptions 
```

## Properties

<table><thead><tr><th>

Property


</th><th>

Modifiers


</th><th>

Type


</th><th>

Description


</th></tr></thead>
<tbody><tr><td>

[apiDocsExtractionPath?](./tsdocs.apidocsoptions.apidocsextractionpath.md)


</td><td>


</td><td>

string


</td><td>

_(Optional)_ Path to tsdocs reports/models


</td></tr>
<tr><td>

[apiDocsGenerationPath?](./tsdocs.apidocsoptions.apidocsgenerationpath.md)


</td><td>


</td><td>

string


</td><td>

_(Optional)_ Path to target directory to generate apidocs


</td></tr>
<tr><td>

[dryRun?](./tsdocs.apidocsoptions.dryrun.md)


</td><td>


</td><td>

boolean


</td><td>

_(Optional)_ To have a dry-run without generating api reports/doc models


</td></tr>
<tr><td>

[generateDefaultPackageDoc?](./tsdocs.apidocsoptions.generatedefaultpackagedoc.md)


</td><td>


</td><td>

boolean


</td><td>

_(Optional)_ A flag to generate default package documentation


</td></tr>
<tr><td>

[lernaPackages?](./tsdocs.apidocsoptions.lernapackages.md)


</td><td>


</td><td>

Record&lt;string, [LernaPackage](./tsdocs.lernapackage.md)<!-- -->&gt;


</td><td>

_(Optional)_ Package metadata


</td></tr>
<tr><td>

[rootDir?](./tsdocs.apidocsoptions.rootdir.md)


</td><td>


</td><td>

string


</td><td>

_(Optional)_ Root directory for the lerna-managed monorepo, default to current dir


</td></tr>
<tr><td>

[silent?](./tsdocs.apidocsoptions.silent.md)


</td><td>


</td><td>

boolean


</td><td>

_(Optional)_ If `true`<!-- -->, do not print messages to console


</td></tr>
</tbody></table>


