Skip to content

Conversation

walker-tx
Copy link
Member

@walker-tx walker-tx commented Feb 8, 2025

This PR does 3 things:

  1. formats the output column to JSON if the input has JSON pasted into it

  2. in jsonpathexplorer mode - the output will no longer be wrapped in a yaml array. This was resulting in weird scenarios where JSON would be wrapped in a yaml array, and thus not formatted. For example:

- {"openapi":"3.0.1", ...}

(The - prefix denotes a yaml array)

  1. the editor panes (original, and original+overlay) should update their language when the content changes

Copy link

linear bot commented Feb 8, 2025

Copy link

vercel bot commented Feb 8, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
jsonpath ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 8, 2025 4:47am

@walker-tx walker-tx changed the title add json formatting formatting and lang discrimination fix: add json formatting formatting and lang discrimination Feb 8, 2025
@walker-tx walker-tx marked this pull request as ready for review February 8, 2025 06:00
@walker-tx walker-tx self-assigned this Feb 8, 2025
@walker-tx walker-tx merged commit 2eff4a4 into main Feb 8, 2025
7 of 10 checks passed
@walker-tx walker-tx deleted the walker/spe-4672-bug-overlay-playground-does-not-format-json-oas-docs branch February 8, 2025 13:37
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.

2 participants