mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-22 08:36:33 +03:00
docs: updates the redocly cli command prefix from openapi to redocly in the redoc deployment guide intro page (#2326)
This commit is contained in:
parent
d1c9155ae1
commit
7e4639e8cf
|
@ -55,7 +55,7 @@ If you have [Redocly CLI](https://redocly.com/docs/cli/#installation-and-usage)
|
||||||
project directory and run the following command:
|
project directory and run the following command:
|
||||||
|
|
||||||
```bash
|
```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.
|
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:
|
You can alter the port if you are using 8080 already, for example:
|
||||||
|
|
||||||
```bash
|
```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.
|
Replace `openapi.yaml` in the example command with the file path to your OpenAPI definition.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user