19 Repos
Tools that generate source code implementations from declarative schema definitions like XML.
Distinct from Code-to-Schema Generation: None of the candidates specifically cover generating C++ logic from XML data model definitions.
Explore 19 awesome GitHub repositories matching software engineering & architecture · Schema-to-Code Generators. Refine with filters or upvote what's useful.
This project is an open-source software development kit and framework for implementing the Matter smart home standard. It provides a universal IPv6-based application layer and a cluster-based data model to ensure interoperability between diverse smart home devices and controllers. The system is distinguished by its multi-transport network abstraction, which maps Bluetooth LE, Thread, and Wi-Fi implementations to a common layer. It includes specialized tooling for secure device commissioning via QR codes and NFC, as well as a comprehensive over-the-air firmware update system for distributing s
Produces C++ implementations from XML definitions to ensure consistency between the data model and code.
Entitas is a data-oriented Entity Component System framework for Unity. It is designed to separate game state into components and logic into systems, utilizing a data-oriented design to optimize CPU cache usage, memory usage, and processing speed. The framework includes a C# source code generator that automatically produces boilerplate classes, entity accessors, and context singletons to reduce manual coding. It also provides a Unity editor debugging tool for real-time runtime state visualization, system performance monitoring, and visual entity inspection. The system manages entity lifecycl
Allows the creation of custom data providers and file generators to automate the production of project source code.
Mapper is a MyBatis-specific library that provides annotation-driven object-relational mapping, enabling single-table CRUD operations without writing SQL or XML. It uses Java reflection and field-level annotations to map entity fields to database columns, configure primary key generation strategies, and generate mapper interfaces and model classes from database schemas. The library distinguishes itself through several practical capabilities. It includes a safe operation guard that blocks delete and update calls lacking query conditions, preventing accidental full-table modifications. Its exam
Generates mapper interfaces and model classes from database schemas to eliminate boilerplate.
NSwag is an OpenAPI toolchain for .NET that provides a suite of generators for converting OpenAPI specifications and JSON schemas into clients, server stubs, and structured documentation. It enables the creation of type-safe client libraries and data transfer objects, as well as the generation of OpenAPI specifications by analyzing .NET controllers. The project supports contract-first API development by generating server controller stubs from specifications and offers dedicated TypeScript API integration to ensure type safety in frontend applications. It also provides tools for hosting intera
Generates typed source code implementations from declarative JSON schema definitions to automate data model creation.
Riverpod is a reactive state management framework for Dart that manages application state through providers which automatically track dependencies and rebuild dependents when values change. It functions as an asynchronous data caching library, caching results of async operations and exposing loading, error, and data states to widgets without manual future handling. The framework includes a provider composition system that combines multiple providers into derived values that recompute automatically when any dependency changes, along with code generation for state providers that reduces boilerpl
Generates provider declarations from annotated classes, reducing boilerplate and ensuring type safety.
This project is a Java persistence generator and database mapping tool designed to produce boilerplate persistence layer code. It translates database schemas and column comments into structured Java annotations and mapping files, replacing the need for manual configuration writing. The tool provides a visual interface for generating code and manages secure database access through SSH tunneling. It allows users to connect to private databases via encrypted tunnels to safely extract schemas without exposing the database to the public internet. The system includes capabilities for database sche
Generates mapper interfaces and model classes from database schemas to eliminate repetitive boilerplate code in MyBatis projects.
jOOQ is a type-safe SQL query builder for Java that generates code from live database schemas, enabling compile-time validation of SQL syntax and data types. Its core identity is built around a fluent DSL that mirrors SQL structure, a code generator that maps tables, views, and routines to Java objects, and a multi-dialect engine that translates the same DSL into vendor-specific SQL for over 30 databases. The project also includes a SQL parser and transformer for refactoring or dialect conversion, reactive stream integration for non-blocking query execution, and a JDBC proxy diagnostics tool f
Generates type-safe Java classes from live database schemas, mapping tables, views, and routines to compile-time objects.
Generate Java types from JSON or JSON Schema and annotate those types for data-binding with Jackson, Gson, etc
Generates Java classes from JSON Schema definitions with data-binding annotations for Jackson and Gson.
Pinot is a distributed, columnar analytical database designed for high-concurrency, low-latency query processing. It functions as a real-time OLAP datastore, enabling interactive, user-facing analytics by ingesting and querying massive datasets from both streaming and batch sources. The system architecture relies on a centralized controller for cluster coordination and a distributed segment-based storage model to ensure horizontal scalability. The platform distinguishes itself through a hybrid ingestion pipeline that unifies real-time event streams and historical batch data into a single quer
Adds JSON schema definitions to the cluster via CLI or REST API to register new table structures.
Lamp Cloud is a multi-tenant SaaS backend framework built on Java and Spring Cloud that provides a complete foundation for building enterprise-grade administration systems. Its core identity centers on supporting multiple tenant isolation strategies—including database-per-tenant, schema-per-tenant, and shared-table modes—that can be switched without altering business code, alongside a role-based access control system enforced at the gateway layer across all microservices. The framework distinguishes itself through comprehensive tenant lifecycle management tools that allow creating, configurin
Produces controller, service, mapper, and frontend files from database tables to accelerate CRUD development.
Swashbuckle.AspNetCore ist ein API-Spezifikationstool und Dokumentationsgenerator für ASP.NET Core. Es extrahiert Metadaten aus Quellcode und Modellen, um standardisierte OpenAPI-Spezifikationen und interaktive Browser-Interfaces zum Erkunden und Testen von Web-APIs zu produzieren. Das Projekt integriert eine Middleware-Komponente zur Bereitstellung dieser Spezifikationen sowie eine Swagger-UI für interaktives API-Testing direkt aus einer laufenden Anwendung heraus. Es bietet zudem einen CLI-Exporter, um Spezifikationsdateien aus Anwendungs-Assemblies für den Einsatz in CI/CD-Pipelines zu extrahieren. Das Tool deckt ein breites Spektrum an Funktionen ab, einschließlich Schema-Management für komplexe Typen, Metadaten-Annotation via Attribute und XML-Kommentare sowie Sicherheitskonfiguration für OAuth 2.0 und API-Keys. Es unterstützt zudem API-Contract-Management, Spezifikations-Versioning und anpassbare Generierungs-Pipelines zum Filtern oder Modifizieren von Operationen.
Implements a custom filter pipeline to modify operation and schema metadata during the generation process.
MyBatis Generator ist ein Tool, das Datenbanktabellen inspiziert, um automatisch Modellobjekte, Mapper-Schnittstellen und SQL-Konfigurationsdateien zu erstellen. Es fungiert als Datenbank-Schema-Mapper und CRUD-Operations-Generator, der relationale Datenbankspalten in sprachspezifische Klassen und Datensätze übersetzt. Das Projekt ist ein erweiterbarer Codegenerator, der die Anpassung von Ausgabedateien durch einen Plugin-Mechanismus ermöglicht. Dieses Framework erlaubt das Hinzufügen spezifischer Geschäftslogik oder die Modifikation des Generierungsprozesses, um maßgeschneiderte Ausgabedateien zu erzeugen. Der Generator deckt ein breites Spektrum an Funktionen ab, einschließlich der Implementierung dynamischer Abfragen, der Erstellung unveränderlicher Modelle und der Automatisierung von Standard-Create-, Read-, Update- und Delete-Operationen. Er unterstützt Datenbank-Schema-Mapping mit virtuellen Primärschlüsseln und kann Code für mehrere Sprachen generieren, einschließlich Kotlin. Der Generierungsprozess kann über CLI-Tools, direkte Funktionsaufrufe oder als Build-Tool-Plugin, das in CI-Pipelines integriert ist, ausgeführt werden.
Automatically creates MyBatis model objects and mapper interfaces by inspecting database tables.
Wire ist ein plattformübergreifender Codegenerator und eine Implementierung von gRPC und Protocol Buffers. Er transformiert Schemadefinitionen in typsichere native Sprachbindungen für Kotlin, Swift und Java, um einen konsistenten Datenaustausch und die Kommunikation zwischen verteilten Systemen zu gewährleisten. Das Projekt bietet spezialisierte Tools für das Protocol-Buffer-Schema-Management, einschließlich der Möglichkeit, ungenutzte Typen zu entfernen und Felder nach Version zu filtern, um die endgültige Binary-Größe zu reduzieren. Es handhabt zudem das Namespace-Management und ermöglicht die Erstellung benutzerdefinierter Schema-Handler, um benutzerdefinierte Logik während der Kompilierungsphase auszuführen. Das Framework deckt ein breites Spektrum an Funktionen ab, einschließlich der Generierung von Dienstschnittstellen für synchrone und asynchrone Remote Procedure Calls, das Mapping von Schematypen auf native Sprachprimitive und die Serialisierung von Nachrichten in JSON. Es enthält zudem Unterstützung für die Generierung von Parcelable-Nachrichten und Mock-Clients für Tests.
Filters schemas to a specific subset of root types and dependencies to reduce total source code size.
openapi-ts is a tool and orchestrator used to convert OpenAPI specifications into type-safe TypeScript SDKs and HTTP client implementations. It automatically generates typed interfaces and request functions from API definitions to ensure consistency between the server and the client. The project employs a transport-agnostic client interface, decoupling high-level API calls from the underlying network library. It uses a plugin-based generation pipeline and a custom plugin architecture to allow for the customization of output types and validation schemas. The system provides capabilities for n
Provides control over generated output by composing plugins to include specific types and validation schemas.
open62541 is an open-source implementation of the OPC Unified Architecture standard, providing a complete stack for industrial automation and data exchange. It functions as both an OPC UA server and client, enabling the creation of an object-oriented address space to model physical industrial assets and their relationships. The project is designed for versatility across diverse hardware, offering a C99 library that can be deployed to both cloud servers and resource-constrained embedded environments. It distinguishes itself through a pluggable network layer and interface-based security backend
Transforms standardized XML node set definitions into C source code to automate model instantiation.
Pothos is a code-first GraphQL schema builder and framework designed for type-safe development. It allows developers to construct schemas using typed definitions in TypeScript, eliminating the need for external code generation steps. The framework distinguishes itself through a dedicated data mapper that connects GraphQL types to relational databases and ORMs, such as Prisma, while optimizing query resolution. It provides a full implementation of the Relay specification, including global object identification and cursor-based pagination. The project covers several core capability areas, incl
Transforms existing schema definitions into builder code to accelerate the migration to a code-first approach.
Alice is a PHP test data generator and fixture library used to automate the creation of large sets of fake objects and entities. It functions as an object hydrator and random data provider, allowing users to define the structure and attributes of dummy test data in markup or arrays to simulate specific application states. The library distinguishes itself through a template-based system that supports fixture inheritance to reduce data duplication. It utilizes a flexible instantiation model that allows for custom factory integration, method invocation, and property hydration via reflection or c
Provides custom parsing logic via flags to influence how metadata is resolved during object creation.
This project is an automated documentation generator that synchronizes API reference materials with actual code behavior. By capturing live HTTP request and response data during the execution of existing test suites, it ensures that documentation remains accurate and consistent with the underlying application. The tool distinguishes itself by integrating directly into the test runner lifecycle, allowing developers to define API specifications and metadata within their test blocks. This approach enables a test-driven documentation workflow where API behavior is recorded and mapped to structure
Applies conditional logic to test execution results to include or exclude specific API endpoints from the final generated documentation.
Dieses Tool ist ein automatisierter Backend-Code-Generator, der administrative Dashboards durch die Inspektion bestehender relationaler Datenbankstrukturen erstellt. Es fungiert als schema-gesteuertes Scaffolding-Dienstprogramm, das Tabellendefinitionen und Fremdschlüssel-Constraints analysiert, um funktionale serverseitige Controller und Benutzeroberflächen für die Datensatzverwaltung zu erzeugen. Das Projekt zeichnet sich durch statisches Source-Code-Ejection aus, das menschenlesbare Dateien ausgibt, die Entwickler manuell modifizieren oder erweitern können. Durch die Analyse von Datenbank-Metadaten werden relationale Daten automatisch auf intuitive Auswahlkomponenten abgebildet und rohe numerische Identifikatoren durch menschenlesbare Labels ersetzt, wodurch sichergestellt wird, dass die generierten administrativen Ansichten über verschiedene Bildschirmgrößen hinweg konsistent und responsiv bleiben. Die generierte Ausgabe enthält die notwendige serverseitige Logik und Dashboard-Layouts, die zur Verwaltung von Datenbankeinträgen erforderlich sind. Da das Tool Standard-Quelldateien anstelle undurchsichtiger Binärdateien erzeugt, ermöglicht es eine vollständige Anpassung der zugrunde liegenden Controller und Ansichten, um spezifische Projektanforderungen zu erfüllen.
Provides configuration options for modifying how schemas are transformed into source code.