Skip to content

v0.0.3-alpha.58

Compare
Choose a tag to compare
@github-actions github-actions released this 23 Jan 02:34
· 28 commits to main since this release

   🚨 Breaking Changes

The entry points have been split into client and node. This means that you will need to update your imports to use the correct entry point.

useSidebar and usePaths are now available in the node entry point:

import { useSidebar, usePaths } from 'vitepress-openapi'

All other functions are available in the client entry point:

import { theme, useTheme, useOpenapi } from 'vitepress-openapi/client'

The isDark prop has been removed and is now taken from VueUse. This means that you will need to remove the isDark prop from OAOperation and OASpec components.

-<OAOperation :isDark="isDark" :operation="operation" />
+<OAOperation :operation-id="operationId" />
-<OASpec :isDark="isDark" :spec="spec" />
+<OASpec :spec="spec" />

   🐞 Bug Fixes

    View changes on GitHub