Releases: apiuikit/openapi-try-it-plugin
Releases · apiuikit/openapi-try-it-plugin
Release list
v0.2.1
Patch Changes
- cee9376: Fix the "Try it" row's chrome (border, background) following the wrong palette when a host sets
theme.mode(apiuikit ^1.9.0).tryItRowStylepreviously guessed which oftheme.light/theme.darkwas active withtheme?.light ?? theme?.dark— correct only for the old "light wins if both set" rule. It now readsuseDocumentContext().resolvedMode, apiuikit's own answer, so the row stays visually consistent whenevermodepicks dark (or"system"resolves to dark) while both palettes are configured. Requires apiuikit ^1.10.0 or later — the first version exposingresolvedMode(not 1.9.0, which shippedtheme.modeitself but not this field).
v0.2.0
Minor Changes
- e68577c: Add
createTryItButtonPlugin, a separate opt-in plugin that fillsopenapi.operation.reference.supplementarywith a "Try it" button opening the request-sending panel in a modal. It does not register automatically alongside the existingcreateTryItPlugintab — register either, both, or neither.
Patch Changes
- e68577c: Fix
applyQueryParams(and the auth-query-param step inbuildRequest) percent-encoding an unresolved{pathParam}placeholder into%7BpathParam%7Dany time the request URL was round-tripped throughnew URL(...).toString()— even with zero query params to add. The built request URL, used for export (Postman/Insomnia/HAR) and now shown live in the panel, stays readable instead.