Skip to content

Commit 5153bcf

Browse files
author
Melissa Hansen
committed
docs: correct typo in "Multiple schemas" example and add tip for bundling schemas
1 parent 0a700ea commit 5153bcf

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

docs/cli.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,15 @@ apis:
3838
external@v1:
3939
root: ./openapi/external.yaml
4040
x-openapi-ts:
41-
output: ./openapi/openapi.ts
41+
output: ./openapi/external.ts
4242
```
4343
44+
::: tip
45+
46+
This will preserve schemas 1:1 input:output. To bundle multiple schemas into one, use Redocly’s [bundle command](https://redocly.com/docs/resources/multi-file-definitions/#bundle)
47+
48+
:::
49+
4450
Whenever you have a `redocly.yaml` file in your project with `apis`, you can omit the input/output parameters in the CLI:
4551

4652
```bash

0 commit comments

Comments
 (0)