Formateadores y código
OpenAPI 3.1 YAML ⇄ JSON
Convert OpenAPI specs between YAML and JSON.
Nota del editor
Understanding · Same spec, two file formats — pick by audience.
Este capítulo en profundidad está disponible solo en inglés por el momento. La herramienta de conversión de arriba funciona en tu idioma; el artículo explicativo extenso aún no se ha traducido.
Preguntas frecuentes
Quick answers.
›Does this tool support OpenAPI 3.1?
Yes. It supports OpenAPI 3.1, 3.0, and Swagger 2.0 definitions. The tool converts the underlying structure without altering the specification version.
›Will my API documentation be kept private?
Yes. The conversion happens entirely in your browser using JavaScript. No document data is sent to our servers or stored externally.
›What happens to YAML comments during conversion?
JSON does not support comments, so any comments in your YAML source will be stripped when converting to JSON. They are preserved if you are simply formatting YAML.
›Is the output validated against the OpenAPI schema?
The tool checks for valid `YAML` and `JSON` syntax during the conversion process. For full schema-level validation, we recommend using a dedicated OpenAPI linter.
La gente también busca
Herramientas relacionadas
More in this room.
- Validador de OpenAPI / SwaggerValida especificaciones OpenAPI 3 contra las reglas de la especificación.
- OpenAPI → Cliente Axios TypeScriptGenera un cliente Axios tipado desde cualquier especificación OpenAPI.
- OpenAPI → React Query HooksHooks useQuery + useMutation autogenerados por cada endpoint.
- OpenAPI → Colección PostmanColección Postman v2.1 desde cualquier especificación OpenAPI.
- GraphQL SDL ⇄ Tipos TypeScriptRecorre un esquema, emite interfaces tipadas — y viceversa.
- JSON Schema → Zod / Valibot / ArkTypeTres sabores de validador en tiempo de ejecución desde un JSON Schema.