Formatierer & Code
OpenAPI / Swagger Validator
Validate OpenAPI 3 specs against the spec rules.
Anmerkung der Redaktion
Understanding · A spec for the spec.
Dieses ausführliche Kapitel ist derzeit nur auf Englisch verfügbar. Das Konvertierungstool oben funktioniert in Ihrer Sprache; der lange Erklärtext wurde noch nicht übersetzt.
Häufig gestellte Fragen
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.
Andere suchten auch nach
Verwandte Tools
More in this room.
- OpenAPI 3.1 YAML ⇄ JSONKonvertieren Sie OpenAPI-Spezifikationen zwischen YAML und JSON.
- OpenAPI → TypeScript Axios ClientGenerieren Sie einen getypten Axios-Client aus jeder OpenAPI-Spezifikation.
- OpenAPI → React Query HooksAutomatisch generierte useQuery + useMutation Hooks pro Endpunkt.
- OpenAPI → Postman CollectionPostman v2.1 Collection aus jeder OpenAPI-Spezifikation.
- GraphQL SDL ⇄ TypeScript TypesDurchlaufen Sie ein Schema, geben Sie getypte Schnittstellen aus – und wieder zurück.
- JSON Schema → Zod / Valibot / ArkTypeDrei Laufzeit-Validatoren aus einem JSON Schema.