docs: updates the redocly cli command prefix from openapi to redocly in the redoc deployment guide intro page (#2326)

This commit is contained in:
Heather Cloward 2023-05-26 11:11:14 -04:00 committed by GitHub
parent d1c9155ae1
commit 7e4639e8cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -55,7 +55,7 @@ If you have [Redocly CLI](https://redocly.com/docs/cli/#installation-and-usage)
project directory and run the following command:
```bash
openapi preview-docs openapi.yaml
redocly preview-docs openapi.yaml
```
Replace `openapi.yaml` in the example command with the file path to your OpenAPI definition.
@ -66,7 +66,7 @@ To exit the preview, use `control+C`.
You can alter the port if you are using 8080 already, for example:
```bash
openapi preview-docs -p 8888 openapi.yaml
redocly preview-docs -p 8888 openapi.yaml
```
Replace `openapi.yaml` in the example command with the file path to your OpenAPI definition.