Revert "Fix API endpoint detail dialog clipping on macOS"
Details
This reverts commit 1fd77727299d661a526e37e61f0b5634561c56bc.
Fix API endpoint detail dialog clipping on macOS
Details
The detail dialog was shown via ShowDialog(this) where 'this' was the
ApiDocsWindow. On macOS, child dialogs are constrained to the parent
window's bounds, causing long response content to get clipped. Fixed by
parenting the detail dialog to the main window (Owner) instead.
Also added bottom padding to the detail window's outer ScrollViewer.
Add OpenAPI V3 spec export from Developer Settings
Details
New OpenApiSpecGenerator service builds a full OpenAPI 3.1.0 spec from all
registered IApiProvider routes (plugin + shell). Exports as JSON (pretty-printed
via System.Text.Json) or YAML (simple recursive JsonNode walker — no external
dependency). Includes paths, parameters, request/response examples, apiKey
security scheme, tags per plugin, and shell routes (status, routes).
Two new link-buttons "(JSON) | (YAML)" appear below "View Documentation" in
Developer Settings. Each opens a SaveFileDialog and writes the spec to the
chosen path.
Move View Documentation link to its own line in Developer settings
Details
Prevents horizontal overflow when the subtitle and link button
compete for space in a narrow settings panel.
Disable horizontal scrolling on API docs and route detail windows
Details
Both ApiDocsWindow and ApiRouteDetailWindow ScrollViewers lacked
HorizontalScrollBarVisibility="Disabled", allowing monospace code blocks
and inline runs to overflow the window width. Content now constrains to
the window width with text wrapping.
Get notified about new releases