6 repository-uri
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.
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.
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.
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.
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.
Connexion este un framework web Python de tip spec-first conceput pentru a deriva comportamentul serverului și logica de validare direct dintr-un contract API predefinit. Permite dezvoltarea de servicii web prin utilizarea unei specificații OpenAPI pentru a gestiona automat rutarea, validarea cererilor și serializarea răspunsurilor. Framework-ul se distinge prin faptul că acționează ca un validator de cereri OpenAPI și server mock. Poate simula comportamentul API-ului prin servirea de răspunsuri exemplu bazate pe schemele specificației, permițând dezvoltarea frontend-ului și prototiparea înainte ca implementarea backend-ului să fie finalizată. În plus, găzduiește o interfață de documentație API interactivă, oferind o consolă pentru utilizatori pentru a vizualiza și testa endpoint-urile. Proiectul acoperă o gamă largă de capabilități, inclusiv înregistrarea automată a rutelor, injectarea parametrilor și aplicarea securității bazată pe definițiile contractului. Oferă, de asemenea, instrumente pentru validarea schemei atât a cererilor, cât și a răspunsurilor, precum și capacitatea de a mapa excepțiile aplicației la răspunsuri de eroare standardizate, lizibile de către mașină.
Defines pluggable validation logic for request bodies and responses based on specific content types.
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.