Skip to content

Page by Spec ​

You can use the OASpec component to render all operations in any Markdown file.

Example ​

Markdown File ​

If you have configured the OpenAPI Specification using the useOpenapi composable in your .vitepress/theme/index.[js,ts] file, you can just use the OASpec component to render all operations in any Markdown file.

markdown
---
aside: false
outline: false
title: vitepress-openapi
---

<OASpec />