Formateurs & Code
Validateur OpenAPI / Swagger
Validate OpenAPI 3 specs against the spec rules.
Note de la rédaction
Understanding · A spec for the spec.
Ce chapitre approfondi n'est actuellement disponible qu'en anglais. L'outil de conversion ci-dessus fonctionne dans votre langue ; le long article explicatif n'a pas encore été traduit.
Questions fréquentes
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.
Les internautes recherchent aussi
Outils similaires
More in this room.
- OpenAPI 3.1 YAML ⇄ JSONConvertissez les spécifications OpenAPI entre YAML et JSON.
- OpenAPI → Client Axios TypeScriptGénérez un client Axios typé à partir de n'importe quelle spécification OpenAPI.
- OpenAPI → Hooks React QueryHooks useQuery + useMutation auto-générés par endpoint.
- OpenAPI → Collection PostmanCollection Postman v2.1 à partir de n'importe quelle spécification OpenAPI.
- GraphQL SDL ⇄ Types TypeScriptParcourez un schéma, émettez des interfaces typées — et vice-versa.
- JSON Schema → Zod / Valibot / ArkTypeTrois variantes de validateurs d'exécution à partir d'un même JSON Schema.