10 个仓库
Enforcement of advanced input rules, including mutual exclusivity and parameter dependencies.
Distinct from Input Validation Rules: Candidates focus on UI forms or general test validation, not the request parameter constraints of a web API.
Explore 10 awesome GitHub repositories matching web development · API Parameter Validation. Refine with filters or upvote what's useful.
APIJSON is a no-code database API generator and object-relational mapping layer that automatically transforms relational database schemas into functional HTTP endpoints. It provides a system for generating CRUD operations and technical documentation without the need to write manual backend code. The project is distinguished by its ability to allow clients to define custom JSON response structures and field aliases directly within the request. It features dynamic query translation that converts structured JSON parameters into optimized SQL for complex relational joins, subqueries, and data agg
Enforces advanced input rules and parameter dependencies to ensure data integrity before processing.
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
Implements advanced rules for input data, including mutual exclusivity and dependency between different parameters.
Flask-restful is a toolkit for building structured web services using Flask. It functions as a resource-based routing library and a RESTful web service toolkit that organizes endpoints into resource classes. The framework implements a system that maps HTTP methods to specific class methods to handle requests and responses. It utilizes a central registry for resource registration to automate route creation and uses decorators for method dispatch and resource access control. The project covers request and response management through declarative request parsing, argument validation, and data ty
Enforces data integrity by parsing and casting incoming API parameters into specific data types.
Moleculer is a Node.js microservices framework designed for building distributed systems. It functions as a distributed service broker, task orchestrator, and service mesh framework, enabling a decentralized architecture with built-in service discovery and load balancing. The project differentiates itself through a pluggable transport layer supporting protocols such as NATS, Redis, TCP, and Kafka, as well as a dedicated microservices API gateway that maps external HTTP and WebSocket requests to internal service actions. It includes built-in fault tolerance mechanisms, including circuit breake
Enforces data integrity by checking incoming action and event parameters against a defined schema before execution.
Arjun is an HTTP parameter discovery tool that identifies valid parameters on web endpoints by testing large dictionaries of parameter names against target URLs. It systematically probes endpoints using GET, POST, JSON, and XML request formats to find which parameters the server accepts, and can detect parameters whose values appear reflected in the response body. The tool distinguishes itself through its multi-method scanning approach, passive parameter collection from public archives like OTX and CommonCrawl, and its ability to detect value-sensitive parameters that only trigger a response
Flags parameters whose values appear in the response body, marking them as potentially valid for security testing.
Swoft 是一个高性能 PHP 微服务框架,旨在处理并发网络流量并使用协程执行异步任务。它通过协程驱动的运行时和支持 HTTP、WebSocket、RPC 和 TCP 协议的高性能服务器,为构建可扩展的后端服务提供了基础。 该框架通过一套治理和优化工具脱颖而出,包括用于注册、发现和熔断的分布式服务协调系统。它还具有用于可重用数据库和网络套接字的连接池管理器,以及用于拦截和扩展方法行为而不修改源代码的面向切面编程库。 其他功能包括用于组件解耦的依赖注入容器、用于繁重计算的进程池任务执行,以及用于循环任务的调度机制。该系统还支持集中式配置管理,以同步不同环境下的应用程序设置。
Provides a system for validating incoming API request parameters against predefined rules.
该项目是一个全面的教育资源和技术指南,旨在利用 Spring Boot 框架构建企业级后端应用和 RESTful 服务。它作为分步教程,指导如何在 Java 生态系统中开发服务端逻辑、API 路由和分布式系统。 该文档提供了微服务架构的具体实现指南,重点在于协调分布式服务和事件驱动通信。它包含 Spring 生态系统的实用参考,并详细介绍了安全实现和数据持久化章节。 该材料涵盖了多个核心功能领域,包括 RESTful Web 服务开发、数据库持久化管理,以及用于解耦通信的消息代理集成。它还通过基于令牌的身份验证、使用隔离模拟(mocks)的自动化后端测试以及异步任务处理管理,解决了应用安全问题。
Enforces input rules and constraints on request parameters to ensure data correctness.
Connexion 是一个规范优先(Spec-first)的 Python Web 框架,旨在直接从预定义的 API 契约中派生服务器行为和验证逻辑。它通过使用 OpenAPI 规范自动处理路由、请求验证和响应序列化,从而实现 Web 服务的开发。 该框架通过充当 OpenAPI 请求验证器和 Mock 服务器而脱颖而出。它可以通过基于规范模式提供示例响应来模拟 API 行为,从而允许在后端实现完成之前进行前端开发和原型设计。此外,它还托管一个交互式 API 文档界面,为用户提供可视化和测试端点的控制台。 该项目涵盖了广泛的功能,包括基于契约定义的自动路由注册、参数注入和安全性实施。它还提供了用于请求和响应模式验证的工具,以及将应用异常映射到标准化机器可读错误响应的能力。
Checks incoming headers, parameters, and bodies against a specification to ensure requirements are met.
Huma is an OpenAPI REST framework for Go designed for building HTTP services with automatic OpenAPI 3.1 specification generation and JSON Schema validation. It serves as a toolkit for developing REST and RPC APIs with typed inputs and outputs, deriving interactive documentation directly from the source code. The framework distinguishes itself by automating the synchronization between implementation and documentation. It uses a content-negotiation engine to manage multiple serialization formats via client headers and employs a JSON Schema input validator to automatically verify request paramet
Enforces strict constraints such as numeric ranges and maximum lengths on API request parameters.
swagger-node 是一个用于 OpenAPI API 开发的工具包,可确保项目的实现与其文档化的设计相匹配。它支持直接从 YAML 规范文件生成功能性 API 服务器和交互式文档。 该项目具有一个将 API 端点映射到特定控制器函数的系统,以及一个从规范模拟 API 响应的 Mock 模式。这允许在实现后端业务逻辑之前进行 API 原型设计和前端开发。 该平台提供了一个用于项目引导、服务器管理和完整性验证的命令行界面。它包括基于中间件的参数验证、自动文档生成以及支持远程调试的测试套件执行功能。
Enforces and retrieves request parameters based on the schemas defined in the API specification.