redocly-vs-code icon indicating copy to clipboard operation
redocly-vs-code copied to clipboard

docs: update JSON support as of 0.2.0

Open jeremyfiel opened this issue 2 years ago • 1 comments

What happened?

Reviewing the docs indicates your API definition file is in the YAML format.. JSON support was added in 0.2.0 according to the release notes. What should have happened instead?

https://redoc.ly/docs/redocly-openapi/#troubleshooting

jeremyfiel avatar Mar 08 '22 19:03 jeremyfiel

JSON is still not fully supported by the extension (in the sense that you can't yet do everything with JSON files that you can with YAML files). Only validation and live documentation preview are supported for JSON right now. Almost all other features, including cursor context, are not supported yet. That's why we're still focusing on YAML as the "default" format in the documentation. It would probably be a good idea to make this a bit clearer in the docs, though. :+1:

ivana-isadora avatar Mar 08 '22 20:03 ivana-isadora