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

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

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

API request validator

排名更新于 2026年7月18日

For request variables, the strongest matches are adonisjs/core (AdonisJS is a full-stack web framework that includes robust), go-martini/martini (Martini is a web framework that centers its architecture) and litestar-org/litestar (Litestar is a full-featured web framework that natively incorporates). uber-go/fx and ets-labs/python-dependency-injector round out the shortlist. Each is ranked by relevance to your query, popularity and recent activity.

Find the best API request validator libraries for your stack. Compare top-rated GitHub repositories by activity and features to pick the right one.

API request validator

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

    adonisjs/core

    18,990在 GitHub 上查看↗

    This is a TypeScript web framework and Node.js backend framework used to build web applications and API servers. It serves as a server-side application toolkit providing a structured environment for managing HTTP routing, request parsing, and application configuration. The framework features a dependency injection container to deliver required objects between application components, decoupling internal logic. It includes built-in tools for server-side data security, such as cryptographic drivers for hashing sensitive data and encrypting application data at rest. The project covers broad capa

    AdonisJS is a full-stack web framework that includes robust built-in support for environment variable validation, request parsing, dependency injection, and secret management, making it a comprehensive tool for managing application configuration and request data.

    TypeScriptDependency InjectionDependency Injection ContainersRequest Parsing
    在 GitHub 上查看↗18,990
  • go-martini/martinigo-martini 的头像

    go-martini/martini

    11,603在 GitHub 上查看↗

    Martini is a web framework for the Go programming language that provides a toolkit for building web applications. It functions as a routing engine and an HTTP middleware pipeline to map network requests to specific handler functions. The framework is distinguished by its dependency injection system, which automatically resolves and provides requested service types as arguments to handler functions. This allows for the decoupling of business logic from infrastructure by matching requested types against a registry of available services. The project covers a broad range of web capabilities, inc

    Martini is a web framework that centers its architecture on a dependency injection system for request handlers, making it a relevant tool for managing and injecting variables into your application logic.

    GoDependency InjectionDependency Injection FrameworksRequest Middleware
    在 GitHub 上查看↗11,603
  • litestar-org/litestarlitestar-org 的头像

    litestar-org/litestar

    8,302在 GitHub 上查看↗

    Litestar is a high-performance Python ASGI web framework designed for building asynchronous APIs and web services. It functions as a type-safe toolkit that leverages Python type hints to provide automatic request validation and response serialization, while natively generating interactive API documentation based on the OpenAPI specification. The framework is distinguished by its integrated dependency injection system, which manages shared resources and resolves complex nested service chains directly within request handlers. It further organizes API development through class-based controllers

    Litestar is a full-featured web framework that natively incorporates dependency injection, request parameter parsing, and middleware support as core components of its request lifecycle management.

    PythonDependency InjectionDependency Injection ContainersDependency Injection Frameworks
    在 GitHub 上查看↗8,302
  • uber-go/fxuber-go 的头像

    uber-go/fx

    7,354在 GitHub 上查看↗

    Fx is a dependency injection framework and application lifecycle manager for Go. It functions as a component model container that automates the instantiation and connection of components by analyzing constructor parameters and return values to resolve complex dependency graphs. The framework distinguishes itself through module-based component bundling, which encapsulates related constructors into reusable units to manage visibility and logic. It provides advanced resolution capabilities, including mapping concrete types to interfaces for decoupling, resolving dependency ambiguities via unique

    This is a dependency injection framework that automates component lifecycle and wiring, which directly addresses the dependency injection requirement for managing application variables and services.

    GoDependency InjectionDependency InjectionDependency Injection Containers
    在 GitHub 上查看↗7,354
  • ets-labs/python-dependency-injectorets-labs 的头像

    ets-labs/python-dependency-injector

    4,805在 GitHub 上查看↗

    This is a dependency injection framework and inversion of control container for Python. It decouples object creation from business logic by managing how services and their dependencies are assembled, delivered, and linked within an application. The framework is distinguished by its ability to perform automated component wiring, using import hooks and decorators to inject dependencies into functions and classes across different modules. It supports non-blocking flows through an asynchronous dependency resolver and manages the initialization and shutdown sequences of shared external resources a

    This is a dependency injection framework for Python that helps manage application components and service assembly, which directly addresses the dependency injection requirement for managing application state and variables.

    PythonDependency Injection ContainersDependency Injection FrameworksInversion-of-Control Containers
    在 GitHub 上查看↗4,805
  • ruby-grape/graperuby-grape 的头像

    ruby-grape/grape

    9,990在 GitHub 上查看↗

    Grape is a RESTful web service framework for Ruby designed for building structured APIs. It provides a declarative syntax for routing and parameter validation, allowing developers to map HTTP verbs to logic through a domain specific language. The framework is distinguished by its built-in support for service versioning, which can be managed via URL paths, custom headers, or request parameters. It also features a modular architecture that allows large services to be constructed by nesting smaller API definitions. The project covers comprehensive API lifecycle capabilities, including schema-dr

    Grape is a RESTful API framework that provides robust request parameter validation, middleware support, and request lifecycle hooks, making it a strong tool for managing and processing incoming request variables.

    RubyRequest Body ParsersRequest Middleware
    在 GitHub 上查看↗9,990
  • loopbackio/loopback-nextloopbackio 的头像

    loopbackio/loopback-next

    5,095在 GitHub 上查看↗

    LoopBack Next is a Node.js API framework used for building REST and multi-protocol APIs. It functions as an OpenAPI server implementation that can either generate machine-readable specifications from code or produce implementation controllers and models from existing specifications. The framework distinguishes itself through a central dependency injection container and a repository-pattern data access layer. This architecture decouples application logic from component construction and persistent storage, allowing for a pluggable system where data sources and business logic are isolated throug

    LoopBack Next is a comprehensive API framework that natively incorporates dependency injection, request parsing, and middleware-based variable management, making it a robust tool for handling application configuration and request data.

    TypeScriptDependency InjectionDependency Injection ContainersRequest Parameter Parsing
    在 GitHub 上查看↗5,095
  • spec-first/connexionspec-first 的头像

    spec-first/connexion

    4,600在 GitHub 上查看↗

    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

    Connexion is a Python framework that automates request parameter parsing and validation based on OpenAPI specifications, effectively handling the core requirements for managing request variables and context injection in API development.

    PythonRequest Parameter Parsing
    在 GitHub 上查看↗4,600
  • symfony/http-foundationsymfony 的头像

    symfony/http-foundation

    8,630在 GitHub 上查看↗

    Symfony HttpFoundation is an object-oriented library that models HTTP requests and responses as structured objects, wrapping PHP superglobals into typed parameter bags and providing dedicated objects for headers, cookies, and file uploads. It serves as the foundational layer for building HTTP-based applications in PHP, offering a complete abstraction for reading request data, constructing responses, and managing the full request-response lifecycle. The library distinguishes itself through composable request matchers that check incoming requests against conditions like IP, method, host, or pat

    This library provides the core request parameter parsing and abstraction layer needed to manage HTTP request variables in PHP applications, though it does not natively handle secret management or dependency injection.

    PHPRequest Data Accessors
    在 GitHub 上查看↗8,630
  • elysiajs/elysiaelysiajs 的头像

    elysiajs/elysia

    18,531在 GitHub 上查看↗

    Elysia is a high-performance TypeScript web framework designed for building type-safe backend services. It provides a modular, plugin-based architecture that allows developers to compose server logic, middleware, and validation schemas into scalable application instances. By leveraging native web standards, the framework ensures portability across diverse JavaScript runtimes, including Node.js, Deno, and various edge computing environments. The framework distinguishes itself through its focus on end-to-end type safety, automatically synchronizing request and response definitions between the s

    Elysia is a high-performance web framework that natively handles request parameter parsing, validation, and middleware, though it is a full-stack framework rather than a dedicated tool solely for variable management.

    TypeScriptRequest Body ParsersDependency Injection Providers
    在 GitHub 上查看↗18,531
  • gin-gonic/gingin-gonic 的头像

    gin-gonic/gin

    88,694在 GitHub 上查看↗

    Gin is a web framework designed for building high-performance web services and APIs. It functions as a middleware-oriented engine that processes incoming HTTP requests through a sequential chain of handlers, allowing for the modular management of cross-cutting concerns such as authentication and logging. The framework utilizes a radix tree data structure to perform request routing, ensuring high-speed path matching with minimal memory overhead. It distinguishes itself by employing a zero-reflection dispatch mechanism that invokes handler functions through static type assertions, avoiding the

    Gin is a high-performance web framework that provides built-in request parameter parsing, middleware support, and type-safe request binding, making it a robust tool for managing request variables within API development.

    GoMiddleware-Oriented FrameworksRadix Tree RoutersRouting and Request Handling
    在 GitHub 上查看↗88,694
  • fastapi/fastapifastapi 的头像

    fastapi/fastapi

    99,260在 GitHub 上查看↗

    FastAPI is a web framework for building APIs with Python. It leverages standard language type hints to provide automatic data validation, request parsing, and interactive API documentation generation. The framework supports asynchronous request handling and manages execution contexts to prevent blocking the main event loop. The project includes a dependency injection system that allows for the resolution and injection of reusable components into request handlers. This system supports request-scoped caching, lifecycle management, and integration with security mechanisms like OAuth2 and JSON We

    FastAPI is a web framework that natively handles request parameter parsing, validation, and dependency injection, making it a highly effective tool for managing variables within an API context.

    PythonFull-Stack FrameworksRequest Body ValidationsAsynchronous Dependencies
    在 GitHub 上查看↗99,260
  • hapijs/hapihapijs 的头像

    hapijs/hapi

    14,789在 GitHub 上查看↗

    Hapi is a configuration-driven web framework for building secure and scalable HTTP servers and APIs on the Node.js runtime. It functions as a REST API development framework and an enterprise server implementation focused on stability, security, and comprehensive input validation. The framework is built around a plugin-based architecture, allowing core functionality and custom logic to be organized into modular, registerable plugins. It serves as an HTTP request lifecycle manager, enabling the interception and modification of requests through pre-handlers and extensions before they reach the f

    Hapi is a comprehensive web framework that provides robust built-in support for request parameter validation, middleware-like lifecycle extensions, and configuration-driven management of application variables, making it a strong fit for handling request and environment logic.

    JavaScriptNode.js Server FrameworksPlugin-Based ArchitecturesWeb Servers
    在 GitHub 上查看↗14,789
  • cdimascio/express-openapi-validatorcdimascio 的头像

    cdimascio/express-openapi-validator

    1,002在 GitHub 上查看↗

    Express-openapi-validator is an ExpressJS middleware that enforces API contract compliance by validating incoming requests and outgoing responses against OpenAPI 3.0 and 3.1 specifications. It acts as a gatekeeper for web services, ensuring that all traffic adheres to defined schemas before reaching application logic. The framework distinguishes itself by automating data integrity tasks, including the automatic coercion of request parameters and body content into typed objects. It provides comprehensive security enforcement by validating authentication and authorization headers against define

    This middleware automates the validation of API requests and parameters against an OpenAPI specification, directly addressing the request parsing and validation requirements for web applications.

    TypeScriptExpressJS Request ValidatorsRequest Interception MiddlewareAPI Validation Middlewares
    在 GitHub 上查看↗1,002
  • krakenjs/kraken-jskrakenjs 的头像

    krakenjs/kraken-js

    4,919在 GitHub 上查看↗

    Kraken-js is a configuration-driven server manager and application framework for bootstrapping Node.js web applications. It provides a system for defining server behavior, middleware chains, and environment settings through JSON files rather than manual code. The framework focuses on separating application logic from infrastructure setup by resolving and injecting middleware into the request chain based on external configuration. It utilizes environment-based configuration merging to override baseline settings with context-specific values during startup. The system covers server security thr

    Kraken-js is a configuration-driven framework that manages environment settings and middleware injection for Node.js applications, directly addressing the need for structured variable management and request handling.

    JavaScriptNode.js Server FrameworksServer Bootstrapping FrameworksApplication Bootstrapping
    在 GitHub 上查看↗4,919
  • joho/godotenvjoho 的头像

    joho/godotenv

    10,483在 GitHub 上查看↗

    godotenv is a Go library designed to load, parse, and serialize environment configuration files. It provides tools to extract configuration data from files into maps and inject those key-value pairs directly into the system environment of a Go application process. The project includes a configuration file serializer for exporting environment variable maps back into formatted files and a parser for extracting data without modifying the system environment. It supports injecting variables from strings or files into the process environment using priority-based overloading and overwriting. The li

    This library provides essential functionality for loading and injecting environment variables into Go applications, serving as a foundational tool for configuration management.

    GoEnvironment Variable LoadersEnvironment Variable ManagementConfiguration File Parsers
    在 GitHub 上查看↗10,483
一览前 10 名对比
仓库Star 数语言许可证最后推送
adonisjs/core19KTypeScriptMIT2026年6月11日
go-martini/martini11.6KGoMIT2022年3月29日
litestar-org/litestar8.3KPythonMIT2026年6月20日
uber-go/fx7.4KGomit2025年12月27日
ets-labs/python-dependency-injector4.8KPythonbsd-3-clause2026年1月31日
ruby-grape/grape10KRubyMIT2026年6月23日
loopbackio/loopback-next5.1KTypeScriptNOASSERTION2026年6月15日
spec-first/connexion4.6KPythonApache-2.02026年6月1日
symfony/http-foundation8.6KPHPMIT2026年6月23日
elysiajs/elysia18.5KTypeScriptMIT2026年6月16日

Related searches

  • 集中式应用配置管理系统
  • a library for managing global application state
  • a library for handling form data binding
  • State management library
  • an open source framework for access control
  • Text search engine
  • 响应式数据绑定库
  • a framework for building web APIs