Skip to content

Commit e50d603

Browse files
committed
quick fix to improve the OpenAPI pages
1 parent 24a42de commit e50d603

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

api-playground/openapi/setup.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ The fastest way to get started with OpenAPI is to add an `openapi` field to a ta
4949
}
5050
```
5151

52+
<Note>The directory field is optional. If not specified, the files will be placed in the **api-reference** folder of the docs repo.</Note>
53+
5254
When using this option, the metadata for the generated pages will have the following default values:
5355

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

api-playground/troubleshooting.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Here's a list of common issues we've seen customers run into:
1616

1717
To verify your OpenAPI document will pass validation:
1818

19-
1. Visit [this validator](https://apitools.dev/swagger-parser/online/)
19+
1. Visit [this validator](https://editor.swagger.io/)
2020
2. Switch to the "Validate text" tab
2121
3. Paste in your OpenAPI document
2222
4. Click "Validate it!"

0 commit comments

Comments
 (0)