Skip to content

Releases: enzonotario/vitepress-openapi

v0.1.17

07 Mar 13:55

Choose a tag to compare

   🚀 Features

    View changes on GitHub

v0.1.16

07 Mar 11:31

Choose a tag to compare

   🚀 Features

    View changes on GitHub

v0.1.15

27 Feb 00:46

Choose a tag to compare

   🚀 Features

  • playground: Add support to configure example / x-playground-example behavior (as value, placeholder or ignore)  -  by @eoghanmurray in #319 (eaa1a)

   🐞 Bug Fixes

    View changes on GitHub

v0.1.14

08 Feb 19:23

Choose a tag to compare

   🚀 Features

  • codeSamples: Replace hardcoded language maps with extensible central LanguageConfig  -  by @JulianVallee in #317 (891b5)

Refactor code samples to use a single, extensible LanguageConfig interface as the source of truth for language definitions. Each language now declares its own target, client, highlighter, and display metadata, removing the need for separate hardcoded mapping dictionaries.

Shiki now loads only core languages (json, xml, markdown) on init and loads additional highlighter languages on demand via ensureLanguage(), reducing initial bundle overhead.

BREAKING CHANGES:

  • codeSamples.langs config option has been removed; the set of displayed is now driven entirely by codeSamples.availableLanguages.
  • getCodeSamplesLangs() has been removed from the useTheme composable.
  • LanguageConfig interface now requires target and client properties used by @scalar/snippetz for code generation).
  • The GeneratorFunction signature changed from (lang: string, request: OARequest) to
      (langConfig: LanguageConfig, request: OARequest).
  • The codeSamples prop has been removed from the OACodeSamples component.
    View changes on GitHub

v0.1.13

23 Dec 00:45

Choose a tag to compare

   🚀 Features

    View changes on GitHub

v0.1.12

01 Dec 00:35

Choose a tag to compare

   🐞 Bug Fixes

    View changes on GitHub

v0.1.11

30 Nov 12:02

Choose a tag to compare

   🚀 Features

   🐞 Bug Fixes

    View changes on GitHub

v0.1.10

30 Oct 21:54

Choose a tag to compare

   🚀 Features

    View changes on GitHub

v0.1.9

27 Aug 11:01

Choose a tag to compare

   🐞 Bug Fixes

    View changes on GitHub

v0.1.8

13 Aug 01:16

Choose a tag to compare

   🐞 Bug Fixes

    View changes on GitHub