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 APIs बनाने के लिए एक विनिर्देश-संचालित (specification-driven) फ्रेमवर्क है जो स्वचालित रूप से OpenAPI विनिर्देशों को एप्लिकेशन लॉजिक से मैप करता है। यह रूटिंग, रिक्वेस्ट वैलिडेशन और रिस्पॉन्स सीरियलाइज़ेशन को स्वचालित करने के लिए इन विनिर्देशों का उपयोग करता है, जो ऑपरेशन IDs के माध्यम से API ऑपरेशंस को बैकएंड हैंडलर फंक्शन्स से जोड़ता है। प्रोजेक्ट एक स्कीमा-संचालित मॉक सर्वर प्रदान करके खुद को अलग करता है जो बैकएंड लॉजिक की आवश्यकता के बिना विनिर्देश से उदाहरण रिस्पॉन्स का उपयोग करके API व्यवहार का अनुकरण करता है। इसमें एक डायनामिक डॉक्यूमेंटेशन होस्टिंग सिस्टम भी शामिल है जो API विनिर्देश को एंडपॉइंट्स को एक्सप्लोर और टेस्ट करने के लिए एक लाइव इंटरैक्टिव कंसोल में अनुवादित करता है। फ्रेमवर्क मिडिलवेयर-आधारित ऑथेंटिकेशन और स्कोप वैलिडेशन के माध्यम से सुरक्षा प्रवर्तन, प्लगेबल रिक्वेस्ट और रिस्पॉन्स वैलिडेशन लॉजिक, और टाइप किए गए फंक्शन आर्ग्युमेंट्स में स्वचालित पैरामीटर इंजेक्शन सहित व्यापक क्षमता क्षेत्रों को कवर करता है। यह एप्लिकेशन लाइफस्पैन प्रबंधन, कस्टम मिडिलवेयर एकीकरण और टेस्टिंग के लिए रिक्वेस्ट सिमुलेशन के लिए उपयोगिताएं भी प्रदान करता है। प्रोजेक्ट का उपयोग स्टैंडअलोन वेब एप्लिकेशन्स को बूटस्ट्रैप करने या विनिर्देश-संचालित क्षमताएं जोड़ने के लिए मौजूदा फ्रेमवर्क के चारों ओर रैप करने के लिए किया जा सकता है।
Verifies that the data returned by the server conforms to the schema promised in the API specification in the product.
Dredd is an HTTP API contract testing tool and specification validator. It functions as an automated test runner that verifies whether a live backend server's behavior adheres to a formal API specification document. The system performs language-agnostic API testing by transforming specification definitions into HTTP requests and matching the resulting responses against the defined JSON schemas. This process ensures that the server implementation remains compliant with the design contract regardless of the programming language used to build the backend. The tool manages the test lifecycle thr
Validates that real server responses comply with the definitions provided in the API specification.