Skip to content

Commit

Permalink
Merge pull request #1528 from melissag/main
Browse files Browse the repository at this point in the history
docs: correct typo in "Multiple schemas" example and add tip for bund…
  • Loading branch information
drwpow authored Feb 3, 2024
2 parents 0a700ea + 5153bcf commit c5c4a88
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docs/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,15 @@ apis:
external@v1:
root: ./openapi/external.yaml
x-openapi-ts:
output: ./openapi/openapi.ts
output: ./openapi/external.ts
```
::: tip
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)
:::
Whenever you have a `redocly.yaml` file in your project with `apis`, you can omit the input/output parameters in the CLI:

```bash
Expand Down

0 comments on commit c5c4a88

Please sign in to comment.