8 个仓库
Tools that verify incoming HTTP request parameters and payloads against a defined schema.
Distinct from Request Payload Validators: Existing candidates focus on Zod-specific runtime validation or architectural patterns for request objects, whereas this is general schema-based request validation for API frameworks.
Explore 8 awesome GitHub repositories matching web development · Request Schema Validators. Refine with filters or upvote what's useful.
Connexion 是一个规范驱动的框架,用于构建自动将 OpenAPI 规范映射到应用逻辑的 API。它使用这些规范来自动化路由、请求验证和响应序列化,并通过操作 ID 将 API 操作链接到后端处理函数。 该项目通过提供一个模式驱动的 Mock 服务器来区分开来,该服务器使用规范中的示例响应来模拟 API 行为,而无需后端逻辑。它还包括一个动态文档托管系统,将 API 规范转换为实时交互式控制台,用于探索和测试端点。 该框架涵盖了广泛的功能领域,包括通过基于中间件的身份验证和作用域验证实施安全性、可插拔的请求和响应验证逻辑,以及向类型化函数参数自动注入参数。它还提供了用于应用生命周期管理、自定义中间件集成和请求模拟测试的实用工具。 该项目可用于引导独立 Web 应用,或包装在现有框架周围以添加规范驱动的功能。
Provides automatic request validation by ensuring incoming data conforms to the OpenAPI specification schemas.
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
Enforces schema compliance on incoming authorization requests by rejecting data that fails to match structural requirements.
This project is a REST API framework for NestJS designed to automate the creation of boilerplate-free CRUD endpoints and resource management. It functions as an automated CRUD generator that produces controllers and services for standard database operations, accelerating the development of RESTful APIs. The toolkit includes a REST query parser that translates complex URL parameters into structured database filters, pagination, and sorting rules. It also operates as an API response serializer to control the exposure of entity fields and manage nested relations within JSON responses. For extend
Verifies that query parameters, path variables, and data objects meet defined schema requirements.
tsoa 是一个 TypeScript API 框架和 OpenAPI REST API 生成器。它将 TypeScript 控制器和模型转换为 Node 服务器的 OpenAPI 规范和路由配置,确保代码定义与 API 文档保持同步。 该工具作为 OpenAPI 规范生成器和 REST 请求验证器运行。它从源代码中提取路径、请求模式和响应模型以生成标准的 OpenAPI 文档,并提供中间件层来验证传入的 HTTP 负载是否符合 TypeScript 定义的模式。 该项目涵盖了 RESTful 路由管理和 API 请求验证。它利用静态类型分析将语言类型转换为 JSON 模式定义,并采用基于模板的生成方式将控制器元数据映射为服务器路由。
Enforces data validation at the network boundary by verifying incoming HTTP requests against typed schemas.
WordPress REST API 是一个 Web 接口和基于 JSON 的内容 API,允许使用标准 HTTP 方法检索和修改站点内容、用户和元数据。它作为无头 CMS 接口,通过可编程的 RESTful 控制器暴露站点数据,从而将内容管理与前端解耦。 该系统以其超媒体驱动的发现和基于 JSON-schema 的验证而著称,允许客户端以编程方式定位资源并确保数据交换的可预测性。它利用基于命名空间的端点注册来组织路由,并支持灵活的身份验证层,包括应用程序密码、会话 Cookie 和第三方身份标准。 该 API 涵盖了广泛的资源管理功能,包括处理文章、页面、媒体和基于块的内容。它为响应管理提供了全面的工具,例如资源嵌入、分页和字段过滤,以及用于管理内容修订和站点管理的工具。 支持特定语言的 SDK,将网络请求抽象为高级编程接口。
Uses JSON Schema to automatically check and sanitize incoming request parameters for security.
Flasgger is a documentation framework for Flask applications that generates OpenAPI specifications and an integrated Swagger UI. It functions as a documentation generator and specification parser that extracts API schemas from route definitions, function docstrings, and external specification files. The tool allows API definitions to be maintained either within the source code using YAML blocks in docstrings or decoupled into standalone YAML files. It provides a browser-based interactive console for testing and exploring API endpoints directly from the web application. Beyond documentation,
Checks incoming request bodies and parameters against OpenAPI schemas to ensure data integrity.
Flasgger is an OpenAPI documentation generator for Flask that creates interactive API specifications and Swagger UI documentation directly from application docstrings. It functions as an OpenAPI schema validator, verifying that incoming request data matches defined specifications and returning standardized error responses. The project includes a Marshmallow schema bridge to convert data structures into OpenAPI definitions and integrates a web interface for visualizing and testing API endpoints through an embedded interactive console. It further supports dynamic specification resolution, allow
Automatically checks incoming Flask request data against defined schemas to ensure correct formatting.
This project is a framework for managing multi-agent software development workflows built on the Model Context Protocol. It functions as an AI-driven task orchestrator that decomposes complex development objectives into atomic units, tracks their lifecycle, and coordinates specialized agents to execute, verify, and refine work. By maintaining persistent project context and history, the system ensures continuity across sessions, allowing agents to retain state and adhere to established coding standards. The system distinguishes itself through its dependency-graph task management and multi-agen
Verifies incoming instructions against defined schemas to prevent processing errors and ensure system consistency.