Skip to content

Releases: apiuikit/openapi-try-it-plugin

Release list

v0.2.1

Choose a tag to compare

@github-actions github-actions released this 11 Sep 14:54
83e631f

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). tryItRowStyle previously guessed which of theme.light/theme.dark was active with theme?.light ?? theme?.dark — correct only for the old "light wins if both set" rule. It now reads useDocumentContext().resolvedMode, apiuikit's own answer, so the row stays visually consistent whenever mode picks dark (or "system" resolves to dark) while both palettes are configured. Requires apiuikit ^1.10.0 or later — the first version exposing resolvedMode (not 1.9.0, which shipped theme.mode itself but not this field).

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 06 Sep 14:39
48e6bcd

Minor Changes

  • e68577c: Add createTryItButtonPlugin, a separate opt-in plugin that fills openapi.operation.reference.supplementary with a "Try it" button opening the request-sending panel in a modal. It does not register automatically alongside the existing createTryItPlugin tab — register either, both, or neither.

Patch Changes

  • e68577c: Fix applyQueryParams (and the auth-query-param step in buildRequest) percent-encoding an unresolved {pathParam} placeholder into %7BpathParam%7D any time the request URL was round-tripped through new 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.