Introduction
You can use the OAIntroduction
component to display the OpenAPI info
and servers
sections.
If you have configured the OpenAPI Specification using the useOpenapi
composable in your .vitepress/theme/index.[js,ts]
file, you can just use the OAIntroduction
component in any Markdown file.
markdown
<OAIntroduction />
Example
Info and Servers
The OAInfo
and OAServers
components can be used separately to display the OpenAPI info
and servers
sections.
If you have configured the OpenAPI Specification using the useOpenapi
composable in your .vitepress/theme/index.[js,ts]
file, you can just use the OAInfo
and OAServers
components in any Markdown file.
markdown
<OAInfo />
<OAServers />