5 مستودعات
API code generators that produce server stubs and client packages for multiple transport protocols from a single definition.
Distinct from API Code Generators: Distinct from API Code Generators: adds multi-protocol transport support (HTTP, gRPC, WebSocket) to code generation.
Explore 5 awesome GitHub repositories matching development tools & productivity · Multi-Protocol Code Generators. Refine with filters or upvote what's useful.
Goa is a design-first Go framework that generates server and client code, documentation, and request validation from a single declarative domain-specific language (DSL). At its core, it provides a Go DSL for defining API endpoints, data types, and error models, which compiles into fully functional HTTP and gRPC server stubs, client packages, and OpenAPI specifications. The framework distinguishes itself through its plugin-extensible code generation pipeline, allowing custom code generation steps, middleware, or transport layers to be added via plugins. It supports multiple transport protocols
Generates HTTP, gRPC, and WebSocket server stubs and client packages from a single design definition.
TypeSpec is a language for defining cloud API shapes and generating OpenAPI, JSON Schema, and client/server code from a single source of truth. It functions as a protocol-agnostic API designer that models REST, gRPC, and other API protocols using a unified, extensible syntax, with a decorator-based metadata system for attaching metadata, validation rules, and lifecycle visibility to API models and operations. The compiler produces OpenAPI 3.0 specifications and other artifacts, and the tool supports declaring API versions and tracking changes to models, properties, and operations across releas
Compiles a single definition into multiple output formats like OpenAPI, JSON Schema, and Protobuf.
grpc-web هو طبقة ترجمة ونظام وكيل يتيح لمتصفحات الويب التواصل مع خدمات gRPC الخلفية. يتكون من وكيل gRPC Web الذي يحول طلبات HTTP وWebSocket القائمة على المتصفح إلى استدعاءات gRPC قياسية، إلى جانب عميل TypeScript gRPC لإجراء استدعاءات إجراءات بعيدة مكتوبة بقوة من المتصفحات أو بيئات Node.js. يتميز المشروع بجسر بث ثنائي الاتجاه يستخدم WebSockets لتجاوز قيود المتصفح، مما يسمح باتصال مزدوج كامل وبث البيانات من جانب العميل. ويتضمن مولد كود بروتوكول بافر يحلل ملفات المخطط لإنتاج فئات طلب واستجابة JavaScript وTypeScript مكتوبة. يغطي النظام مجموعة واسعة من القدرات بما في ذلك اختيار النقل، وإدارة CORS لتقييد الأصول المعتمدة، والاتصال الخلفي الآمن عبر تشفير TLS. كما يوفر مراقبة حركة مرور الوكيل لتتبع الطلبات والاتصالات من خلال المقاييس ونقاط نهاية التصحيح.
Parses .proto files to generate typed JavaScript and TypeScript request and response classes.
Cerbos is an open-source authorization service that provides a centralized, language-agnostic engine for managing access control. It functions as a policy-as-code platform, allowing teams to define, test, and distribute authorization rules using declarative YAML or JSON configurations. By decoupling access logic from application code, it enables consistent permission enforcement across diverse service stacks. The project distinguishes itself through its ability to translate high-level authorization policies into native database query filters. This capability allows applications to enforce sec
Defines query plans that enforce resource access conditions at the database level.
هذا المشروع عبارة عن إضافة للتحقق من بروتوكول المخزن المؤقت (Protocol Buffer) ومولد أكواد ينشئ منطق تحقق متسق عبر لغات برمجة متعددة. يعمل كامتداد للمترجم لسلسلة أدوات Protocol Buffer، مما يسمح للمطورين بتعريف قيود دلالية مباشرة داخل ملفات المخطط (schema) لضمان اتساق البيانات. تستخدم الأداة خيارات مخصصة لتضمين قواعد التحقق في تعريفات الرسائل، وتعيين قيود المخطط هذه لأنماط التنفيذ الخاصة باللغة. تستخدم فحص القيود القائم على المسند (predicate) والاجتياز العودي لفرض القواعد عبر تسلسلات الرسائل المتداخلة. يغطي سطح التحقق النطاقات والقيم الرقمية، وأنماط وتنسيقات السلاسل، وقيود تسلسل البايت، وفرض التعداد (enum). كما يدير أحجام المجموعات والحقول المتكررة، والتحقق من النوع المعقد للطوابع الزمنية والمدد، ومتطلبات اختيار حقل الاتحاد (union).
Defines semantic constraints in Protobuf schemas to automatically generate code that ensures incoming messages are valid and consistent.