awesome-repositories.com
博客
MCP
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·

51 个仓库

Awesome GitHub RepositoriesAPI Contract Definitions

Formal structures for defining API interfaces.

Distinguishing note: Focuses on the contract definition process.

Explore 51 awesome GitHub repositories matching software engineering & architecture · API Contract Definitions. Refine with filters or upvote what's useful.

Awesome API Contract Definitions GitHub Repositories

用 AI 发现最棒的仓库。我们将通过 AI 为您搜索最匹配的仓库。
  • protocolbuffers/protobufprotocolbuffers 的头像

    protocolbuffers/protobuf

    71,359在 GitHub 上查看↗

    Protocol Buffers 是一种语言中立、平台无关的结构化数据序列化机制。它提供了一个模式驱动的工具链,将声明式数据定义编译为类型安全的源代码,从而在不同编程语言编写的服务之间实现一致的通信和强类型的 API 契约。 该项目以其高效的二进制线路格式脱颖而出,该格式利用基于标签的编码和变宽整数压缩来最小化有效载荷大小和处理开销。它支持稳健的演进式模式管理,允许开发者在保持向后和向前兼容性的同时增量更新数据结构。这得到了版本化版本系统的进一步支持,该系统管理跨分布式软件组件的功能集和序列化逻辑。 除了核心二进制序列化外,该项目还包括用于模式验证的规范 JSON 转换、细粒度的符号可见性控制以及用于区分默认值和未设置值的字段存在性跟踪功能。它还提供专门的优化,例如 C++ 实现中基于竞技场(arena)的内存管理,以提高创建和清理复杂消息树时的性能。

    Enforces strict interface boundaries and data contracts to ensure reliable communication between distributed services.

    C++marshallingprotobufprotobuf-runtime
    在 GitHub 上查看↗71,359
  • addyosmani/agent-skillsaddyosmani 的头像

    addyosmani/agent-skills

    60,849在 GitHub 上查看↗

    Agent-skills is a collection of structured instructions and behavioral personas designed to standardize how AI coding agents perform engineering tasks. It functions as a workflow orchestrator that maps natural language intent to repeatable technical sequences and verification checklists. The project distinguishes itself through the use of specialized markdown-defined roles, such as security auditors or test engineers, to apply targeted domain expertise. It employs an evidence-based verification model that requires runtime data or passing tests as mandatory exit criteria to ensure AI-generated

    Defines the interface and specifications before implementing logic to ensure consistent expectations between producer and consumer.

    Shellagent-skillsantigravityantigravity-ide
    在 GitHub 上查看↗60,849
  • apache/dubboapache 的头像

    apache/dubbo

    41,519在 GitHub 上查看↗

    Dubbo is a Java RPC framework and microservices governance platform designed for high-performance remote procedure calls in distributed architectures. It provides the foundational components necessary to connect distributed services across a network, including a binary data serialization library and a distributed service registry. The platform distinguishes itself through a comprehensive governance suite that manages service discovery, load balancing, and traffic routing. It enables precise control over network traffic via conditional routing and a pluggable extension mechanism based on a ser

    Enables the generation of consistent service interfaces from definition files to synchronize providers and consumers.

    Javadistributed-systemsdubboframework
    在 GitHub 上查看↗41,519
  • oai/openapi-specificationOAI 的头像

    OAI/OpenAPI-Specification

    31,048在 GitHub 上查看↗

    The OpenAPI Specification is a formal, vendor-neutral standard for defining the structure, endpoints, and data models of HTTP-based web services. By providing a machine-readable interface definition language, it enables developers to establish clear API contracts that ensure consistency across diverse programming languages and backend systems. This specification promotes a design-first development approach, where interface behavior is defined through static, declarative configuration files rather than imperative code. This structure allows for the automated generation of type-safe client libr

    Defines a formal, machine-readable structure for HTTP APIs to ensure consistency across services.

    Markdownapisoasopenapi
    在 GitHub 上查看↗31,048
  • ymfe/yapiYMFE 的头像

    YMFE/yapi

    27,722在 GitHub 上查看↗

    yapi is an API management platform designed to coordinate the development of RESTful APIs between frontend, backend, and quality assurance teams. It functions as a centralized system for documenting interface specifications, simulating server responses, and validating requests through a built-in testing client. The platform features an API code generator that transforms interface specifications into typed request functions and data models across multiple programming languages. It also includes a mock server capable of generating synthetic responses using schema-based generators and rule-based

    Provides utilities to migrate API interface data from external formats like Postman, HAR, and Swagger.

    JavaScriptapiapi-managementapi-manager
    在 GitHub 上查看↗27,722
  • go-kratos/kratosgo-kratos 的头像

    go-kratos/kratos

    25,743在 GitHub 上查看↗

    Kratos is a toolkit for building cloud-native microservices in Go. It provides a comprehensive suite of framework primitives, including a dedicated toolset for API-first development using Protobuf to generate server and client code for gRPC and HTTP. The project is distinguished by its pluggable service infrastructure, which allows for the swapping of configuration stores, service registries, and data encoding formats. It utilizes a composable middleware pipeline to inject cross-cutting concerns such as authentication, request validation, and circuit breaking into the service flow. The frame

    Analyzes Protobuf definitions for style violations and breaking changes to ensure API contract integrity.

    Goaiarchitecturecloud-native
    在 GitHub 上查看↗25,743
  • python/mypypython 的头像

    python/mypy

    20,489在 GitHub 上查看↗

    mypy is a static type checker for Python that analyzes source code to detect type errors and inconsistencies without executing the program. It functions as a static analysis tool and type inference engine, providing a gradual typing system that allows type hints to be added to a codebase incrementally while maintaining compatibility with dynamic typing. The project distinguishes itself through a combination of performance and precision features. It utilizes a daemon-based incremental checking system and multi-process parallel analysis to manage large codebases, supported by binary cache persi

    Verifies that function signatures and complex generic types are used correctly across different modules.

    Pythonlinterpythontypechecker
    在 GitHub 上查看↗20,489
  • temporalio/temporaltemporalio 的头像

    temporalio/temporal

    18,411在 GitHub 上查看↗

    Temporal is a distributed workflow orchestration engine designed to manage fault-tolerant, stateful, and long-running background processes. It functions as a platform for coordinating complex cross-service operations, ensuring consistency and reliability in distributed environments by decoupling workflow orchestration from task execution. The platform distinguishes itself through a deterministic, event-sourced execution model that reconstructs workflow state by re-executing code from an immutable event log. This approach isolates non-deterministic side effects into managed activities, allowin

    Establishes structured service and operation definitions with typed inputs and outputs to enable reliable communication between distributed components.

    Gocronjob-schedulerdistributed-crondistributed-systems
    在 GitHub 上查看↗18,411
  • keploy/keploykeploy 的头像

    keploy/keploy

    17,622在 GitHub 上查看↗

    Keploy is an automated testing platform that leverages kernel-level traffic interception to generate and maintain regression test suites for microservices. By capturing live network traffic and system calls via eBPF, the platform automatically creates deterministic test cases and mocks external dependencies without requiring manual code instrumentation. This approach allows developers to validate application behavior and API contracts by replaying production-like traffic in isolated environments. The platform distinguishes itself through its use of machine learning to perform test maintenance

    A system that validates API schemas and detects drift by comparing live traffic against established contract definitions and specifications.

    Goagentic-aiai-testing-toolapi-testing
    在 GitHub 上查看↗17,622
  • dotnet/aspnetcore.docsdotnet 的头像

    dotnet/AspNetCore.Docs

    13,115在 GitHub 上查看↗

    ASP.NET Core is a unified, cross-platform framework designed for building scalable web applications and services. It provides a comprehensive environment for constructing server-side rendered applications, real-time communication services, and interactive web components using C# and .NET. The framework distinguishes itself through a modular architecture that centers on a built-in dependency injection container, which manages service lifecycles and component modularity to improve testability. It utilizes a middleware pipeline to process requests and employs policy-based authorization to secure

    Maps incoming network requests to specific code methods using typed service contracts and interface patterns.

    C#aspaspnetaspnet-core
    在 GitHub 上查看↗13,115
  • shishirpatil/gorillaShishirPatil 的头像

    ShishirPatil/gorilla

    12,908在 GitHub 上查看↗

    Gorilla is a foundational infrastructure framework for large language model function calling. It provides a system for training, evaluating, and executing the translation of natural language instructions into accurate API calls and executable code. The project integrates a structured API documentation index, a fine-tuning pipeline for model adaptation, and a secure sandboxed action runtime for executing model-generated commands. The framework distinguishes itself through a specialized evaluation benchmark suite that measures the accuracy, cost, and latency of function calls. It includes tools

    Organizes comprehensive collections of API definitions to facilitate more accurate model training and evaluation.

    Python
    在 GitHub 上查看↗12,908
  • swaggo/swagswaggo 的头像

    swaggo/swag

    12,611在 GitHub 上查看↗

    Swag is a documentation tool for Go that generates standardized API specification files by parsing declarative annotations within source code. It functions by analyzing source files to extract metadata from comments and function signatures, transforming them into machine-readable formats such as JSON or YAML. This process ensures that technical documentation remains synchronized with the underlying code structure throughout the development lifecycle. The tool distinguishes itself through its ability to perform static source code parsing and type-system reflection, which allows it to map compl

    Enables the definition of complex request and response data structures as API contracts within code.

    Goannotationsgolangopenapi
    在 GitHub 上查看↗12,611
  • magento/magento2magento 的头像

    magento/magento2

    12,126在 GitHub 上查看↗

    This project is a PHP e-commerce platform and enterprise storefront framework designed for building and managing online stores. It functions as a modular PHP application and headless commerce engine, separating e-commerce business logic from frontend presentation to support multiple storefronts and devices. The system is built on a modular architecture that allows developers to add custom business logic and third-party integrations. It utilizes a service-contract-based API to ensure stability across module implementations and employs dependency-injection for object lifecycle management. Core

    Enforces strict service contract definitions for business logic to ensure stability across different module implementations.

    PHPecommerceecommerce-platformhacktoberfest
    在 GitHub 上查看↗12,126
  • encoredev/encoreencoredev 的头像

    encoredev/encore

    12,049在 GitHub 上查看↗

    Encore is a distributed systems framework designed to unify backend development, infrastructure provisioning, and observability. It functions as an infrastructure-as-code platform that allows developers to define cloud resources, databases, and messaging topics directly within their application code. By analyzing these declarations at compile-time, the system automatically manages the deployment of cloud resources and security policies, ensuring parity between local development and production environments. The platform distinguishes itself through its integrated development experience, which

    Exposes application logic as network endpoints by declaring them within service-specific folders for automatic infrastructure provisioning.

    Goapiawsbackend
    在 GitHub 上查看↗12,049
  • aosp-mirror/platform_frameworks_baseaosp-mirror 的头像

    aosp-mirror/platform_frameworks_base

    10,812在 GitHub 上查看↗

    This project provides the core framework and system API layer for the Android operating system. It consists of the fundamental Java and C++ libraries that define system behavior and establish the interface contracts required for system applications and hardware abstraction. The project includes a runtime optimizer used to reduce startup time and improve execution speed by pre-compiling methods and configuring boot images. It also features a software quality toolchain that enforces code formatting, audits commit metadata, and manages API compatibility to ensure stable interface contracts acros

    Ensures stable interface contracts and binary compatibility across different Android system versions.

    Java
    在 GitHub 上查看↗10,812
  • keybase/clientkeybase 的头像

    keybase/client

    9,171在 GitHub 上查看↗

    This project is an end-to-end encrypted communication client designed for secure messaging and identity management using public-key cryptography. It provides a cryptographic identity manager to verify authenticity across platforms and integrates a local messaging daemon to synchronize encrypted data and handle network communication. The system features a remote encrypted file system that mounts encrypted storage as local directories for direct file interaction. It also includes automated identity provisioning for registering and authenticating new devices and automation bots using cryptograph

    Uses formal structures to define API interfaces and data schemas for consistent communication.

    Gochatend-to-end-encryptiongo
    在 GitHub 上查看↗9,171
  • kubernetes-sigs/kubebuilderkubernetes-sigs 的头像

    kubernetes-sigs/kubebuilder

    8,992在 GitHub 上查看↗

    Kubebuilder is a framework and set of scaffolding tools used to build Kubernetes APIs and controllers. It functions as an operator framework that provides generators for custom resource definitions, admission webhooks, and RBAC manifests to extend cluster functionality. The project distinguishes itself through marker-based code generation, which parses source code comments to automatically produce Kubernetes manifests and boilerplate logic. It employs a hub-and-spoke versioning model to translate data between multiple API versions and uses a three-way merge strategy to automate project migrat

    Organizes API types into separate modules to allow external reuse without requiring controller dependencies.

    Gok8s-sig-api-machinery
    在 GitHub 上查看↗8,992
  • googleapis/googleapisgoogleapis 的头像

    googleapis/googleapis

    8,439在 GitHub 上查看↗

    This project is a centralized API specification registry and governance framework. It serves as a source of truth for structured API schemas, gRPC definitions, and data models used to maintain consistency across a large ecosystem of services. The system functions as a multi-language client generator, transforming standardized interface definitions into executable source code and language-specific libraries. This process ensures that client libraries and technical documentation remain synchronized by deriving them directly from the original interface definitions. The project also covers the m

    Provides formal structures for defining API interfaces to ensure consistency across multiple programming languages.

    Starlarkprotocol-buffers
    在 GitHub 上查看↗8,439
  • webmozarts/assertwebmozarts 的头像

    webmozarts/assert

    7,648在 GitHub 上查看↗

    This PHP assertion library is a runtime data validator used to verify method inputs and outputs. It provides a toolkit for validating data types, numeric ranges, and string patterns during program execution to prevent invalid states. The project serves as a static analysis helper by providing type hints and annotations that improve the accuracy of formal verification tools. It includes a collection validation utility for applying rules across arrays or iterable collections, and a filesystem validation tool to verify path existence and read or write permissions. The library covers a broad ran

    Provides runtime verification to ensure incoming data structures and object properties match expected API formats.

    PHP
    在 GitHub 上查看↗7,648
  • twitchtv/twirptwitchtv 的头像

    twitchtv/twirp

    7,517在 GitHub 上查看↗

    Twirp 是一个 Protocol Buffers RPC 框架,旨在实现基于 HTTP 的类型安全、分布式微服务通信。它作为一个微服务通信框架和 API 代码生成器,从模式定义中生成强类型的客户端存根和服务器接口,以消除手动网络样板代码。 该框架通过在标准 HTTP 传输上执行远程过程调用,确保与现有 Web 基础设施的兼容性。它使用模式驱动的契约作为单一事实来源,以实现跨语言互操作性并将业务逻辑与网络传输解耦。 该系统涵盖了几个核心能力领域,包括接口驱动的路由、支持 JSON 和二进制的多格式数据序列化,以及用于横切关注点的请求生命周期中间件。它还提供了一个标准化的错误映射系统,将服务故障转换为机器可读的代码,并包括用于客户端兼容性验证的工具。

    Uses structured definition files as the single source of truth to enforce consistent API behavior across distributed systems.

    Go
    在 GitHub 上查看↗7,517
上一个123下一个
  1. Home
  2. Software Engineering & Architecture
  3. API Contract Definitions

探索子标签

  • API Contract Linting3 个子标签Static analysis tools for validating API contracts against style and compatibility rules. **Distinct from API Contract Definitions:** Focuses specifically on the analysis and linting of the contract definition, not just the existence of the contract.
  • API Definition IndicesOrganized collections of API specifications used specifically for model training and evaluation. **Distinct from API Contract Definitions:** Distinct from API Contract Definitions: focuses on the indexed organization of these definitions for AI training rather than the formal contract definition process.
  • Contract Router OrganizationsStructured hierarchies for grouping multiple procedure contracts into manageable API definitions. **Distinct from API Contract Definitions:** Distinct from API Contract Definitions: focuses on organizing multiple contracts into a hierarchy, not just defining individual contracts.
  • Contract VisualizationsGraphical representations of API contracts that allow developers to inspect request and response structures. **Distinct from API Contract Definitions:** Distinct from API Contract Definitions: focuses on the visual representation of the contract rather than the formal definition process.
  • Drift DetectorsAutomated tools that identify discrepancies between live API traffic and established contract definitions. **Distinct from Drift Detection:** Distinct from API Contract Definitions: focuses on the active detection of schema drift via traffic analysis rather than the definition process itself.
  • Dual Source Contract DefinitionsSupports defining contracts via .NET attributes, a runtime model, or generating classes from .proto schema files for cross-system alignment. **Distinct from API Contract Definitions:** Distinct from API Contract Definitions: allows contracts to originate from multiple sources (attributes, runtime model, .proto files) rather than a single schema definition approach.
  • Durable Iterator DefinitionsTyped interfaces for durable iterator objects that ensure type safety for streaming data between client and server. **Distinct from API Contract Definitions:** Distinct from API Contract Definitions: specifically defines typed contracts for durable iterators used in streaming, not general API endpoints.
  • External Importers2 个子标签Utilities for migrating API definitions from external formats into a target system. **Distinct from API Contract Definitions:** Distinct from API Contract Definitions: focuses on the act of migrating existing data from external standards rather than the formal definition process.
  • Router-to-Contract ConvertersTransforms router definitions into shareable contract objects, stripping lazy routes and minifying payloads for client consumption. **Distinct from API Contract Definitions:** Distinct from API Contract Definitions: focuses on the conversion step from a router to a contract, not on defining contracts from scratch.
  • Runtime Contract EnforcementMechanisms to verify that data structures and object properties adhere to defined contracts during program execution. **Distinct from API Contract Definitions:** Focuses on the runtime verification of API contracts, whereas API Contract Definitions focuses on the formal specification process.
  • Runtime Contract Validation1 个子标签Comparing live request logs against defined API schemas to detect interface divergence. **Distinct from API Contract Definitions:** Validates actual request traffic against contracts rather than just defining the contracts or linting them statically.
  • Service Contract Definitions2 个子标签Structured service and operation definitions with typed inputs and outputs for distributed communication. **Distinct from API Contract Definitions:** Distinct from API Contract Definitions: focuses on workflow-specific service contracts rather than general API interfaces.
  • Smart Contract Metadata2 个子标签Embedded machine-readable descriptive information within smart contract binaries. **Distinct from API Contract Definitions:** Focuses on the descriptive metadata embedded in the contract, not the formal interface definitions of an API.
  • Specification PublishingThe act of pushing formalized API interface definitions to a centralized registry for distribution. **Distinct from API Contract Definitions:** Focuses on the publishing action to a registry, whereas the parent focuses on the formal structure of the contract.
  • Web Standard PublishingThe act of publishing technical web standards and specifications to public hosting environments. **Distinct from Specification Publishing:** Distinct from specification publishing, which in the candidates refers specifically to API contract registries.