Releases: enzonotario/vitepress-openapi
Releases · enzonotario/vitepress-openapi
v0.1.17
v0.1.16
🚀 Features
- storage: Add configurable localStorage key prefix - by @enzonotario in #322 (aacb7)
View changes on GitHub
v0.1.15
🚀 Features
- playground: Add support to configure
example/x-playground-examplebehavior (as value, placeholder or ignore) - by @eoghanmurray in #319 (eaa1a)
🐞 Bug Fixes
- Resolve nested properties for additionalProperties schemas - by @PeterUstinox and Claude Opus 4.6 in #321 (1fb91)
View changes on GitHub
v0.1.14
🚀 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.langsconfig option has been removed; the set of displayed is now driven entirely bycodeSamples.availableLanguages.getCodeSamplesLangs()has been removed from the useTheme composable.LanguageConfiginterface now requirestargetandclientproperties used by @scalar/snippetz for code generation).- The
GeneratorFunctionsignature changed from(lang: string, request: OARequest)to
(langConfig: LanguageConfig, request: OARequest). - The
codeSamplesprop has been removed from theOACodeSamplescomponent.
View changes on GitHub
v0.1.13
🚀 Features
- Examples: Implement example selection with named examples support - by @enzonotario in #313 (29a41)
View changes on GitHub
v0.1.12
🐞 Bug Fixes
- types: Implement localStorage availability check - by @enzonotario in #312 (abeaa)
View changes on GitHub
v0.1.11
🚀 Features
- Add support for deepObject query parameters and improve object rendering - by @Juice10 in #306 (e48cd)
- Examples: Add example selection functionality - by @enzonotario in #310 (81c2c)
🐞 Bug Fixes
- Schema: Json examples value/placeholder - by @enzonotario (b24f4)
- parser: Handle YAML/JSON specs - by @enzonotario in #308 (805c2)
- shiki: Refactor initialization to avoid multiple instances - by @enzonotario in #311 (1f7e9)
View changes on GitHub
v0.1.10
🚀 Features
- exports: Export
OAParametercomponent - by @FjellOverflow in #304 (71cfe)
View changes on GitHub
v0.1.9
v0.1.8
🐞 Bug Fixes
- Playground:
- Handle apiKey in query, cookies and headers based on
inproperty - by @enzonotario in #295 (41f67) - Upload/download files - by @enzonotario in #293 (68cbf)
- Handle apiKey in query, cookies and headers based on
- SchemaUI:
- Properly display oneOf/anyOf constants - by @enzonotario (de718)
- Improve handling and display of constants and annotated enums - by @enzonotario (5f729)