Skip to content

fix: skip unresolvable request parameter and body refs instead of panicking - #58

Merged
zaghaghi merged 1 commit into
zaghaghi:mainfrom
SAY-5:fix-resolve-panic-request-pane
May 14, 2026
Merged

zaghaghi merged 1 commit into
zaghaghi:mainfrom
SAY-5:fix-resolve-panic-request-pane

Conversation

@SAY-5

@SAY-5 SAY-5 commented May 12, 2026

Copy link
Copy Markdown
Contributor

When an operation has a parameter or request body $ref that cannot be resolved (e.g. it points at the wrong component section, yielding MismatchedRef), RequestPane::init_schema and ParameterEditor::init_parameters would call .unwrap() and crash the whole TUI; this skips those refs the same way response.rs and body_editor.rs already do. Closes #42.

@zaghaghi
zaghaghi merged commit e36c971 into zaghaghi:main May 14, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

openapi-tui Crash report

2 participants