Skip to content

Commit 5f809c4

Browse files
committed
move info to CLI page
1 parent b17cb00 commit 5f809c4

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

api-playground/openapi-setup.mdx

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,6 @@ keywords: ["OpenAPI", "API specification", "Swagger"]
66

77
OpenAPI is a specification for describing APIs. Mintlify supports OpenAPI 3.0+ documents to generate interactive API documentation and keep it up to date.
88

9-
## Skip OpenAPI processing during local development
10-
11-
If you have many OpenAPI files, skip OpenAPI file processing during local development to improve performance by using the `--disable-openapi` flag:
12-
13-
```bash
14-
mint dev --disable-openapi
15-
```
16-
179
## Add an OpenAPI specification file
1810

1911
To document your endpoints with OpenAPI, you need a valid OpenAPI specification in either JSON or YAML format that follows the [OpenAPI specification 3.0+](https://swagger.io/specification/).

installation.mdx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,14 @@ If you attempt to run on a port that is already in use, it will use the next ava
6767
Port 3000 is already in use. Trying 3001 instead.
6868
```
6969

70+
## Skip OpenAPI processing during local development
71+
72+
If you have many OpenAPI files, skip OpenAPI file processing during local development to improve performance by using the `--disable-openapi` flag:
73+
74+
```bash
75+
mint dev --disable-openapi
76+
```
77+
7078
### Preview as a specific group
7179

7280
If you use partial authentication to restrict access to your documentation, you can preview as a specific authentication group by using the `--groups [groupname]` flag.

0 commit comments

Comments
 (0)