Formatowanie i Kodowanie
Walidator OpenAPI / Swagger
Validate OpenAPI 3 specs against the spec rules.
Notka redakcyjna
Understanding · A spec for the spec.
Ten szczegółowy rozdział jest obecnie dostępny tylko w języku angielskim. Narzędzie konwersji powyżej działa w Twoim języku; długi artykuł objaśniający nie został jeszcze przetłumaczony.
Często zadawane pytania
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.
Ludzie wyszukują również
Powiązane narzędzia
More in this room.
- OpenAPI 3.1 YAML ⇄ JSONKonwertuj specyfikacje OpenAPI między YAML a JSON.
- OpenAPI → Klient TypeScript AxiosGeneruj typowany klient Axios z dowolnej specyfikacji OpenAPI.
- OpenAPI → Hooki React QueryAutomatycznie generowane hooki useQuery + useMutation dla każdego endpointu.
- OpenAPI → Kolekcja PostmanKolekcja Postman v2.1 z dowolnej specyfikacji OpenAPI.
- GraphQL SDL ⇄ Typy TypeScriptPrzeglądaj schemat, emituj typowane interfejsy — i z powrotem.
- JSON Schema → Zod / Valibot / ArkTypeTrzy warianty walidatora runtime z jednego JSON Schema.