Skip to content

Commit 3b976e7

Browse files
committed
docs: add missing version flag notes to intro.mdx
1 parent ae2af54 commit 3b976e7

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

demo/docs/intro.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -371,6 +371,8 @@ yarn docusaurus gen-api-docs petstore --schemas-only
371371

372372
> This command writes the schema pages to the configured output directory while leaving other generated docs untouched.
373373
374+
The `--schemas-only` flag is also available for `gen-api-docs:version`.
375+
374376
### Cleaning API Docs
375377

376378
To clean/remove all API Docs, run the following command from the root directory of your project:
@@ -397,6 +399,8 @@ To clean only schema docs while leaving API, info, and tag docs untouched, use t
397399
yarn docusaurus clean-api-docs petstore --schemas-only
398400
```
399401

402+
> The `--schemas-only` flag is also available for `clean-api-docs:version`.
403+
400404
### Versioning OpenAPI docs
401405

402406
To generate _all_ versioned OpenAPI docs, run the following command from the root directory of your project:

0 commit comments

Comments
 (0)