3 مستودعات
Automatically extracts request data and casts it into typed function arguments for API handlers.
Distinct from Configuration Parameter Injection: Candidates focus on CLI flags or database queries; this is specifically about HTTP request to function argument mapping in web frameworks.
Explore 3 awesome GitHub repositories matching web development · Automatic Parameter Injection. 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
Extracts and casts path, query, and body parameters directly into typed function arguments for handlers.
Connexion is a spec-first Python web framework designed to derive server behavior and validation logic directly from a predefined API contract. It enables the development of web services by using an OpenAPI specification to automatically handle routing, request validation, and response serialization. The framework distinguishes itself by acting as an OpenAPI request validator and mock server. It can simulate API behavior by serving example responses based on specification schemas, allowing for frontend development and prototyping before a backend implementation is completed. Additionally, it
Automatically parses request parameters and injects them as typed arguments into handler functions based on the API specification.
routing-controllers هو موجه API تصريحي ومتحكم إطار عمل ويب لـ TypeScript. يوفر نظاماً لتحديد مسارات HTTP ومنطق معالجة الطلبات باستخدام مصممات (decorators) قائمة على الفئات وبيانات وصفية لتنظيم نقاط نهاية API في بنية منظمة. يستخدم المشروع تكامل خادم قائم على المحولات لفصل منطق التوجيه عن إطار عمل الويب الأساسي، مما يوفر تكاملات محددة لـ Express و Koa. يتميز بنظام تحويل النوع القائم على الانعكاس الذي يتحقق من معاملات الطلب الواردة ويحولها إلى مثيلات فئة مكتوبة. تغطي مساحة القدرة خط أنابيب طلب-استجابة كاملاً، بما في ذلك تنفيذ الوسيط، واعتراض الاستجابة، وإدارة الأخطاء العالمية. يدعم أدوات توجيه متقدمة مثل بادئة المسار العالمية، واكتشاف المكونات القائم على نظام الملفات، وتكامل حقن التبعية. تشمل الوظائف الإضافية التحكم في الوصول القائم على الأدوار، وحقن المستخدم المصادق عليه، ومعالجات متخصصة لتحميل الملفات وبث الاستجابة.
Automatically extracts data from request bodies or headers and injects them as typed arguments into handler methods.