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

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

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

6 个仓库

Awesome GitHub RepositoriesCustom Validators

External logic providers used to define specialized validation rules for specific properties.

Distinct from Class Property Validation: Focuses on the mechanism for injecting custom validator classes or functions, rather than the general application of property validation.

Explore 6 awesome GitHub repositories matching software engineering & architecture · Custom Validators. Refine with filters or upvote what's useful.

Awesome Custom Validators GitHub Repositories

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

    go-swagger/go-swagger

    9,989在 GitHub 上查看↗

    go-swagger is a toolkit for working with Swagger/OpenAPI 2.0 specifications in Go. It generates server, client, and CLI code from a specification document, and can also produce a specification by scanning annotated Go source code. The project includes a static validation engine that checks documents against the schema and project-specific rules, and a specification transformation pipeline that resolves, flattens, and merges documents. The toolkit generates both client and server code from the same specification, ensuring consistency in request and response handling. It also produces a command

    Allows injection of custom validation logic into generated Go struct models.

    Goapicode-generatorgo
    在 GitHub 上查看↗9,989
  • fluentvalidation/fluentvalidationFluentValidation 的头像

    FluentValidation/FluentValidation

    9,727在 GitHub 上查看↗

    FluentValidation is a .NET validation library used to define strongly-typed validation rules for objects. It utilizes a fluent interface API and lambda expressions to ensure data integrity for classes and properties within the .NET type system. The library separates validation logic from business entities to keep domain models focused on core functionality. This approach enables the enforcement of business logic and the sanitization of input data or API payloads through a sequence of logic checks. The system supports complex validation surface areas, including the ability to nest validators

    Allows the integration of custom validator classes and functions to implement domain-specific validation logic.

    C#
    在 GitHub 上查看↗9,727
  • ianstormtaylor/superstructianstormtaylor 的头像

    ianstormtaylor/superstruct

    7,141在 GitHub 上查看↗

    Superstruct is a JavaScript and TypeScript data validation library used to verify that data structures match defined shapes and types. It functions as a composable schema builder and a TypeScript schema validator, ensuring that runtime data checks remain synchronized with static type definitions. The library features a data coercion engine that transforms input values or injects default values before the validation process is executed. It enables the creation of complex validation rules by nesting, merging, or omitting properties from existing structures. Its capabilities cover the validatio

    Provides the mechanism for creating specialized validation rules for types not covered by standard primitives.

    TypeScriptinterfacejavascriptschema
    在 GitHub 上查看↗7,141
  • moleculerjs/moleculermoleculerjs 的头像

    moleculerjs/moleculer

    6,373在 GitHub 上查看↗

    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

    Allows replacing the default validation engine with a custom class or external library for specialized constraints.

    JavaScript
    在 GitHub 上查看↗6,373
  • spec-first/connexionspec-first 的头像

    spec-first/connexion

    4,600在 GitHub 上查看↗

    Connexion 是一个规范优先(Spec-first)的 Python Web 框架,旨在直接从预定义的 API 契约中派生服务器行为和验证逻辑。它通过使用 OpenAPI 规范自动处理路由、请求验证和响应序列化,从而实现 Web 服务的开发。 该框架通过充当 OpenAPI 请求验证器和 Mock 服务器而脱颖而出。它可以通过基于规范模式提供示例响应来模拟 API 行为,从而允许在后端实现完成之前进行前端开发和原型设计。此外,它还托管一个交互式 API 文档界面,为用户提供可视化和测试端点的控制台。 该项目涵盖了广泛的功能,包括基于契约定义的自动路由注册、参数注入和安全性实施。它还提供了用于请求和响应模式验证的工具,以及将应用异常映射到标准化机器可读错误响应的能力。

    Defines pluggable validation logic for request bodies and responses based on specific content types.

    Pythonapi-firstapi-restflask-extensions
    在 GitHub 上查看↗4,600
  • neoremind/fluent-validatorneoremind 的头像

    neoremind/fluent-validator

    1,019在 GitHub 上查看↗

    Fluent-validator is a Java validation framework designed to enforce data integrity through declarative constraints and automated service-layer checks. It provides a structured environment for defining validation logic that integrates with the JSR 303 specification, allowing developers to maintain consistent data quality across complex object hierarchies and application boundaries. The framework distinguishes itself through a fluent interface that enables the orchestration of validation chains, allowing for readable and maintainable rule sequences. It supports advanced execution control, inclu

    Enables developers to define reusable custom validation classes for unique data requirements.

    Java
    在 GitHub 上查看↗1,019
  1. Home
  2. Software Engineering & Architecture
  3. Class Property Validation
  4. Custom Validators

探索子标签

  • Content-Type ValidatorsValidation logic defined for specific media types or content-type ranges for requests and responses. **Distinct from Custom Validators:** Specifically targets validation based on HTTP content types rather than generic property-level validators.
  • Custom Checker ProgramsUser-defined programs used to validate output when a single correct answer does not exist. **Distinct from Custom Validators:** Specifically refers to external binary checkers for output validation, whereas custom validators usually refer to property-level logic.
  • Generated Model ValidatorsInjecting custom validation logic into auto-generated data models through templates or type reuse. **Distinct from Custom Validators:** Distinct from Custom Validators: applies validation injection specifically within code generation pipelines, not general runtime validation.