Skip to content

Releases: enzonotario/vitepress-openapi

v0.0.3-alpha.48

15 Nov 02:29
Compare
Choose a tag to compare

   🚀 Features

   🐞 Bug Fixes

    View changes on GitHub

v0.0.3-alpha.47

01 Nov 23:42
933cc1b
Compare
Choose a tag to compare

   🐞 Bug Fixes

    View changes on GitHub

v0.0.3-alpha.46

30 Oct 23:48
Compare
Choose a tag to compare

   🚀 Features

    View changes on GitHub

v0.0.3-alpha.45

29 Oct 16:56
Compare
Choose a tag to compare

   🐞 Bug Fixes

    View changes on GitHub

v0.0.3-alpha.44

27 Oct 14:24
Compare
Choose a tag to compare

   🚨 Breaking Changes

  • OAOperation: Use hideBranding instead of hideDefaultFooter prop  -  by @enzonotario (3904a)

   🚀 Features

    View changes on GitHub

v0.0.3-alpha.43

16 Oct 23:26
5c71dc9
Compare
Choose a tag to compare

   🚀 Features

    View changes on GitHub

v0.0.3-alpha.42

16 Oct 22:17
Compare
Choose a tag to compare

   🚨 Breaking Changes

   🚀 Features

  • openapi: Add getOpenApiInstance to manage between custom/injected/global specs  -  by @enzonotario (23a20)
    View changes on GitHub

If using have configured the Theme to use a Global Spec, it's recommended to update your configuration to:

import DefaultTheme from 'vitepress/theme'
import type { Theme } from 'vitepress'

import { theme, useOpenapi } from 'vitepress-openapi'
import 'vitepress-openapi/dist/style.css'

import spec from '../../public/openapi.json' assert { type: 'json' }

export default {
    extends: DefaultTheme,
    async enhanceApp({ app, router, siteData }) {
        // Set the OpenAPI specification.
        const openapi = useOpenapi({ spec })
        app.provide('openapi', openapi) // <--- provide openapi instance

        // Use the theme.
        theme.enhanceApp({ app })
    }
} satisfies Theme

See more: https://vitepress-openapi.vercel.app/guide/getting-started.html#theme-configuration

v0.0.3-alpha.41

13 Oct 22:17
Compare
Choose a tag to compare

   🐞 Bug Fixes

    View changes on GitHub

v0.0.3-alpha.40

13 Oct 17:38
Compare
Choose a tag to compare

   🐞 Bug Fixes

    View changes on GitHub

v0.0.3-alpha.39

12 Oct 14:52
Compare
Choose a tag to compare

   🚀 Features

   🐞 Bug Fixes

    View changes on GitHub