What is OpenAPI / Swagger?
The OpenAPI Specification (formerly Swagger) is the de-facto standard for describing HTTP APIs. Swagger 2.0 launched in 2014, was donated to the Linux Foundation, and renamed OpenAPI 3.0 in 2017. OpenAPI 3.1 (2021) aligned the schema dialect with JSON Schema 2020-12, unifying API and data validation tooling. The spec can be authored in JSON or YAML — most teams prefer YAML for the source-of-truth and JSON for tooling consumption.
YAML wins for human editing: comments, no quote noise, and visual indentation. JSON wins for automated tooling: every parser supports it, no whitespace ambiguity, no anchor / merge surprises. This converter goes from JSON to YAML in one click — useful when you receive a JSON spec from a vendor and want to maintain it as YAML in your repo.