Skip to content

Commit 1fb40f4

Browse files
committed
updated location of the tip
1 parent 528e62f commit 1fb40f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

api-playground/openapi/setup.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ 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-
<Note>To validate your OpenAPI spec, you can use this command: <br/>`mintlify openapi-check <openapiFilenameOrUrl>`</Note>
14-
1513
## Auto-populate API pages
1614

1715
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.
@@ -49,6 +47,8 @@ The fastest way to get started with OpenAPI is to add an `openapi` field to a ta
4947

5048
![](/images/autogeneration-with-tabs.png)
5149

50+
<Tip>To validate your OpenAPI spec, you can use this command: <br/>`mintlify openapi-check <openapiFilenameOrUrl>`</Tip>
51+
5252
When using this option, the metadata for the generated pages will have the following default values:
5353

5454
* `title`: The `summary` field from the OpenAPI operation, if present. Otherwise a title generated from the HTTP method and endpoint.

0 commit comments

Comments
 (0)