Skip to content

Commit ad54106

Browse files
committed
Documentation edits made through Mintlify web editor
1 parent 7628e63 commit ad54106

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

api-playground/openapi/setup.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ document in either JSON or YAML format that follows the
1010
[OpenAPI specification](https://swagger.io/specification/). Your document must
1111
follow OpenAPI specification 3.0+.
1212

13-
### Auto-populate API pages
13+
## Auto-populate API pages
1414

1515
The fastest way to get started with OpenAPI is to add an `openapi` field to a tab or anchor in the `mint.json`. This field can contain either the path to an OpenAPI document in your docs repo, or the URL of a hosted OpenAPI document. Mintlify will automatically generate a page for each OpenAPI operation and place them in the tab/anchor.
1616

@@ -58,14 +58,14 @@ When using this option, the metadata for the generated pages will have the follo
5858
There are some scenarios in which the default behavior isn't sufficient. If you need more customizability, you can create an MDX page for your OpenAPI operation, and modify it just like any other MDX page.
5959

6060

61-
### Create MDX files for OpenAPI endpoints
61+
## Create MDX files for OpenAPI endpoints
6262

6363
If you want to customize the page metadata, add additional content, omit certain OpenAPI operations, or reorder OpenAPI pages in your navigation, you'll need an MDX page for each operation. Here is [an example MDX OpenAPI page](https://github.com/elevenlabs/elevenlabs-docs/blob/e5e267c97b8d1e4c21db1dcdb8b005eb1dfed7da/api-reference/speech-to-speech.mdx?plain=1#L2) from [Elevenlabs](https://elevenlabs.io/docs/api-reference/speech-to-speech). 
6464

6565
![](/images/elevenlabs-mdx-autogeneration-example.png)
6666

6767

68-
#### Autogenerate files
68+
### Autogenerate files
6969

7070
For large OpenAPI documents, creating one MDX page for each OpenAPI operation can be a lot of work. To make it easier, we created a local OpenAPI page scraper.
7171

@@ -96,7 +96,7 @@ reorder and add the files to your navigation manually.
9696
If your OpenAPI document is invalid, the files will not autogenerate.
9797
</Note>
9898

99-
#### Manually specify files
99+
### Manually specify files
100100

101101
<Snippet file="api-playground/openapi.mdx" />
102102

0 commit comments

Comments
 (0)