フォーマッター&コード
OpenAPI / Swagger Validator
Validate OpenAPI 3 specs against the spec rules.
編集者注
Understanding · A spec for the spec.
この詳細な解説章は現在、英語版のみで提供されています。上の変換ツールはあなたの言語で動作しますが、長文の解説記事はまだ翻訳されていません。
よくある質問
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.
他の人はこちらも検索しています
関連ツール
More in this room.
- OpenAPI 3.1 YAML ⇄ JSONOpenAPI 仕様を YAML と JSON の間で変換します。
- OpenAPI → TypeScript Axios クライアント任意の OpenAPI 仕様から型付き Axios クライアントを生成します。
- OpenAPI → React Query フックエンドポイントごとに useQuery + useMutation フックを自動生成します。
- OpenAPI → Postman コレクション任意の OpenAPI 仕様から Postman v2.1 コレクションを生成します。
- GraphQL SDL ⇄ TypeScript 型スキーマを走査し、型付きインターフェースを出力します — 双方向。
- JSON Schema → Zod / Valibot / ArkType1つの JSON Schema から3つのランタイムバリデーターフレーバー。