|
6 | 6 |
|
7 | 7 | <div align="center">
|
8 | 8 |
|
9 |
| -OpenAPI plugin for generating API reference docs in Docusaurus v3 (compatible with [Docusaurus Faster](https://github.com/facebook/docusaurus/issues/10556). |
| 9 | +OpenAPI plugin for generating API reference docs in Docusaurus v3 (compatible with [Docusaurus Faster](https://github.com/facebook/docusaurus/issues/10556)). |
10 | 10 |
|
11 | 11 | <img src="https://img.shields.io/badge/dynamic/json?style=for-the-badge&logo=meta&color=blueviolet&label=Docusaurus&query=dependencies%5B%22%40docusaurus%2Fcore%22%5D&url=https%3A%2F%2Fraw.githubusercontent.com%2FPaloAltoNetworks%2Fdocusaurus-openapi-docs%2Fmain%2Fdemo%2Fpackage.json" />
|
12 | 12 | <br/><br/>
|
@@ -155,22 +155,25 @@ The `docusaurus-plugin-openapi-docs` plugin can be configured with the following
|
155 | 155 |
|
156 | 156 | `config` can be configured with the following options:
|
157 | 157 |
|
158 |
| -| Name | Type | Default | Description | |
159 |
| -| -------------------- | --------- | ------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | |
160 |
| -| `specPath` | `string` | `null` | Designated URL or path to the source of an OpenAPI specification file or directory of multiple OpenAPI specification files. | |
161 |
| -| `ouputDir` | `string` | `null` | Desired output path for generated MDX and sidebar files. | |
162 |
| -| `proxy` | `string` | `null` | _Optional:_ Proxy URL to prepend to base URL when performing API requests from browser. | |
163 |
| -| `template` | `string` | `null` | _Optional:_ Customize MDX content with a desired template. | |
164 |
| -| `downloadUrl` | `string` | `null` | _Optional:_ Designated URL for downloading OpenAPI specification. (requires `info` section/doc) | |
165 |
| -| `hideSendButton` | `boolean` | `null` | _Optional:_ If set to `true`, hides the "Send API Request" button in API demo panel | |
166 |
| -| `showExtensions` | `boolean` | `null` | _Optional:_ If set to `true`, renders operation-level vendor-extensions in description. | |
167 |
| -| `sidebarOptions` | `object` | `null` | _Optional:_ Set of options for sidebar configuration. See below for a list of supported options. | |
168 |
| -| `version` | `string` | `null` | _Optional:_ Version assigned to single or micro-spec API specified in `specPath`. | |
169 |
| -| `label` | `string` | `null` | _Optional:_ Version label used when generating version selector dropdown menu. | |
170 |
| -| `baseUrl` | `string` | `null` | _Optional:_ Version base URL used when generating version selector dropdown menu. | |
171 |
| -| `versions` | `object` | `null` | _Optional:_ Set of options for versioning configuration. See below for a list of supported options. | |
172 |
| -| `markdownGenerators` | `object` | `null` | _Optional:_ Customize MDX content with a set of options for specifying markdown generator functions. See below for a list of supported options. | |
173 |
| -| `showSchemas` | `boolean` | `null` | _Optional:_ If set to `true`, generates schema pages and adds them to the sidebar. | |
| 158 | +| Name | Type | Default | Description | |
| 159 | +| -------------------- | --------- | ------- | --------------------------------------------------------------------------------------------------------------------------- | |
| 160 | +| `specPath` | `string` | `null` | Designated URL or path to the source of an OpenAPI specification file or directory of multiple OpenAPI specification files. | |
| 161 | +| `outputDir` | `string` | `null` | Desired output path for generated MDX and sidebar files. | |
| 162 | +| `proxy` | `string` | `null` | _Optional:_ Proxy URL to prepend to base URL when performing API requests from browser. | |
| 163 | +| `template` | `string` | `null` | _Optional:_ Customize MDX content with a desired template. | |
| 164 | +| `infoTemplate` | `string` | `null` | _Optional:_ Customize MDX content for **info** pages only. | |
| 165 | +| `tagTemplate` | `string` | `null` | _Optional:_ Customize MDX content for **tag** pages only. | |
| 166 | +| `schemaTemplate` | `string` | `null` | _Optional:_ Customize MDX content for **schema** pages only. | |
| 167 | +| `downloadUrl` | `string` | `null` | _Optional:_ Designated URL for downloading OpenAPI specification. (requires `info` section/doc) | |
| 168 | +| `hideSendButton` | `boolean` | `null` | _Optional:_ If set to `true`, hides the “Send API Request” button in the API demo panel. | |
| 169 | +| `showExtensions` | `boolean` | `null` | _Optional:_ If set to `true`, renders operation‑level vendor‑extensions in descriptions. | |
| 170 | +| `sidebarOptions` | `object` | `null` | _Optional:_ Set of options for sidebar configuration. See below for a list of supported options. | |
| 171 | +| `version` | `string` | `null` | _Optional:_ Version assigned to a single or micro‑spec API specified in `specPath`. | |
| 172 | +| `label` | `string` | `null` | _Optional:_ Version label used when generating the version‑selector dropdown menu. | |
| 173 | +| `baseUrl` | `string` | `null` | _Optional:_ Base URL for versioned docs in the version‑selector dropdown. | |
| 174 | +| `versions` | `object` | `null` | _Optional:_ Options for versioning configuration. See below for a list of supported options. | |
| 175 | +| `markdownGenerators` | `object` | `null` | _Optional:_ Customize MDX content via generator functions. See below for a list of supported options. | |
| 176 | +| `showSchemas` | `boolean` | `null` | _Optional:_ If set to `true`, generates standalone schema pages and adds them to the sidebar. | |
174 | 177 |
|
175 | 178 | ### sidebarOptions
|
176 | 179 |
|
|
0 commit comments