Typr: End-to-End Type Safety for JVM Languages
Typr generates type-safe code from your database schemas and OpenAPI specifications. The compiler catches mistakes in seconds—not in production.
Boundaries
| Boundary | What it does |
|---|---|
| Databases | Generate type-safe database access from PostgreSQL, MariaDB, Oracle, SQL Server, DuckDB, DB2 |
| REST APIs | Generate type-safe servers and clients from OpenAPI specs |
| Unified Types | Share types across all your boundaries |
Supported Stack
| Category | Supported |
|---|---|
| Languages | Java 17+, Kotlin, Scala 2.13/3.x |
| Databases | PostgreSQL, MariaDB/MySQL, Oracle, SQL Server, DuckDB, DB2 |
| API Frameworks | Spring Boot, JAX-RS, Quarkus, Http4s |
| JSON Libraries | Jackson, Circe, Play JSON, ZIO JSON |
Next Steps
- Getting Started - Install and run your first generation
- Comparison - How Typr compares to alternatives