Skip to content

Commit c5c4a88

Browse files
authored
Merge pull request #1528 from melissag/main
docs: correct typo in "Multiple schemas" example and add tip for bund…
2 parents 0a700ea + 5153bcf commit c5c4a88

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Diff for: 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)