VitePress OpenAPI Docs
Drop interactive API endpoints anywhere in your markdown.
A real Petstore endpoint rendered inline - click Send request, get a response:
/pet/{petId}Find pet by ID
| Name | Type | Description |
|---|---|---|
petIdrequired | path · integer | ID of pet to return |
This site documents two APIs: Petstore (19 ops) and a Mock API (107 ops). Each has its own sidebar and search index.
npm create vitepress-openapi-docs@latest my-api-docs
cd my-api-docs && npm install && npm run devOr add to an existing VitePress site.