Formateadores y código
Validador de OpenAPI / Swagger
Validate OpenAPI 3 specs against the spec rules.
Nota del editor
Understanding · A spec for the spec.
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.
›Which versions of OpenAPI are supported?
The validator supports OpenAPI 3.0 and 3.1, as well as legacy Swagger 2.0 definitions in both YAML and JSON formats.
›Is my API specification private?
Yes. Validation happens locally within your browser using JavaScript. Your API keys, endpoints, and schema details are never uploaded to our servers.
›How do I fix validation errors?
The tool provides the specific line and column number for each error alongside a description of the rule violation. Correct these values in your editor and the validator will refresh the status.
›Does this tool lint for best practices?
This tool focuses on structural validity against the official specification. For custom style guides or naming conventions, a dedicated linter like Spectral is typically required.
La gente también busca
Herramientas relacionadas
More in this room.
- OpenAPI 3.1 YAML ⇄ JSONConvierte especificaciones OpenAPI entre YAML y JSON.
- 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.