المنسقات والكود
مدقق OpenAPI / Swagger
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 ⇄ JSONحوّل مواصفات OpenAPI بين YAML و JSON.
- OpenAPI → عميل TypeScript Axiosأنشئ عميل Axios مُحدد الأنواع من أي مواصفات OpenAPI.
- OpenAPI → React Query Hooksخطافات useQuery + useMutation مُنشأة تلقائيًا لكل نقطة نهاية.
- OpenAPI → Postman Collectionمجموعة Postman v2.1 من أي مواصفات OpenAPI.
- GraphQL SDL ⇄ TypeScript Typesتصفح المخطط، وأصدر الواجهات المكتوبة — والعكس صحيح.
- JSON Schema → Zod / Valibot / ArkTypeثلاثة أنواع من مدققات وقت التشغيل من JSON Schema واحد.