2 مستودعات
Mechanisms that verify outgoing server responses against a defined schema to ensure contract compliance.
Distinguishing note: The candidates are unrelated; this specific capability of verifying the server's own output against a spec is a distinct web development concern.
Explore 2 awesome GitHub repositories matching web development · API Response Validations. Refine with filters or upvote what's useful.
Connexion is a specification-driven framework for building APIs that automatically maps OpenAPI specifications to application logic. It uses these specifications to automate routing, request validation, and response serialization, linking API operations to backend handler functions via operation IDs. The project differentiates itself by providing a schema-driven mock server that simulates API behavior using example responses from the specification without requiring backend logic. It also includes a dynamic documentation hosting system that translates the API specification into a live interact
Verifies that the data returned by the server conforms to the schema promised in the API specification in the product.
Dredd هي أداة لاختبار عقود واجهة برمجة تطبيقات HTTP ومصادقة المواصفات. تعمل كمشغل اختبار مؤتمت يتحقق مما إذا كان سلوك خادم الواجهة الخلفية المباشر يلتزم بوثيقة مواصفات API رسمية. يقوم النظام باختبار API لا يعتمد على لغة برمجة من خلال تحويل تعريفات المواصفات إلى طلبات HTTP ومطابقة الاستجابات الناتجة مقابل مخططات JSON المحددة. تضمن هذه العملية بقاء تنفيذ الخادم متوافقاً مع عقد التصميم بغض النظر عن لغة البرمجة المستخدمة لبناء الواجهة الخلفية. تدير الأداة دورة حياة الاختبار من خلال تنسيق نصوص الإعداد والإزالة الخارجية. تسمح هذه الخطافات (hooks) غير المعتمدة على اللغة بتهيئة بيئة الاختبار والحفاظ على الحالة بين اختبارات التحقق الفردية.
Validates that real server responses comply with the definitions provided in the API specification.