Commit 81d3b5b
Add unified shared types across databases and OpenAPI sources
- Add SourceKind ADT to distinguish Database vs OpenAPI sources
- Add ApiFieldKind to track model properties vs API parameters
- Generate shared types with proper documentation showing all aligned sources
- Support TypeDefinitions matching across PostgreSQL, MariaDB, and OpenAPI
- Add fieldTypeOverrides for explicit field→type mappings in OpenAPI
- Include detailed location paths (e.g., Customer.firstName, /customers.isActive)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 74aab05 commit 81d3b5b
1,944 files changed
Lines changed: 32878 additions & 7977 deletions
File tree
- site
- snapshot-tests/java-sql/DSLTest
- testers
- combined
- java
- generated-and-checked-in
- api/combined/api
- api
- model
- mariadb/combined/mariadb
- brands
- categories
- customer_status
- customers
- customtypes
- products
- postgres/combined/postgres
- customtypes
- humanresources/employee
- information_schema
- person
- businessentity
- emailaddress
- person
- public_
- src/java/combined/server
- specs
- db2
- java/generated-and-checked-in/testdb
- check_constraint_test
- customers
- db2test_identity_always
- db2test_identity_default
- db2test_unique
- db2test
- distinct_type_test
- identity_params_test
- order_items
- orders
- kotlin/generated-and-checked-in/testdb
- check_constraint_test
- customers
- db2test_identity_always
- db2test_identity_default
- db2test_unique
- db2test
- distinct_type_test
- identity_params_test
- order_items
- orders
- scala/generated-and-checked-in/testdb
- check_constraint_test
- customers
- db2test_identity_always
- db2test_identity_default
- db2test_unique
- db2test
- distinct_type_test
- identity_params_test
- order_items
- orders
- duckdb
- java
- generated-and-checked-in/testdb
- all_scalar_types
- customer_search
- customers
- order_summary_by_customer
- orders
- precisetypes
- precision_types_null
- precision_types
- product_summary
- products
- update_customer_priority
- userdefined
- src/java/testdb
- kotlin
- generated-and-checked-in/testdb
- all_scalar_types
- customer_search
- customers
- order_summary_by_customer
- orders
- precisetypes
- precision_types_null
- precision_types
- product_summary
- products
- update_customer_priority
- userdefined
- src/kotlin/testdb
- scala
- generated-and-checked-in/testdb
- all_scalar_types
- customer_search
- customers
- order_summary_by_customer
- orders
- precisetypes
- precision_types_null
- precision_types
- product_summary
- products
- update_customer_priority
- userdefined
- src/scala/testdb
- mariadb
- java
- generated-and-checked-in/testdb
- audit_log
- brands
- categories
- customer_addresses
- customer_orders
- customer_status
- customers
- inventory_check
- inventory
- mariatest_identity
- mariatest_spatial_null
- mariatest_spatial
- mariatest_unique
- mariatestnull
- mariatest
- order_details
- order_history
- order_items
- orders
- payment_methods
- payments
- precisetypes
- precision_types_null
- precision_types
- price_tiers
- product_categories
- product_images
- product_prices
- product_search
- products
- promotions
- reviews
- shipments
- shipping_carriers
- simple_customer_lookup
- subquery_test
- update_order_status
- userdefined
- v_customer_summary
- v_inventory_status
- v_order_details
- v_product_catalog
- v_warehouse_coverage
- warehouses
- src/java/testdb
- kotlin
- generated-and-checked-in/testdb
- audit_log
- brands
- categories
- customer_addresses
- customer_orders
- customer_status
- customers
- inventory_check
- inventory
- mariatest_identity
- mariatest_spatial_null
- mariatest_spatial
- mariatest_unique
- mariatestnull
- mariatest
- order_details
- order_history
- order_items
- orders
- payment_methods
- payments
- precisetypes
- precision_types_null
- precision_types
- price_tiers
- product_categories
- product_images
- product_prices
- product_search
- products
- promotions
- reviews
- shipments
- shipping_carriers
- simple_customer_lookup
- subquery_test
- update_order_status
- userdefined
- v_customer_summary
- v_inventory_status
- v_order_details
- v_product_catalog
- v_warehouse_coverage
- warehouses
- src/kotlin/testdb
- scala
- generated-and-checked-in/testdb
- audit_log
- brands
- categories
- customer_addresses
- customer_orders
- customer_status
- customers
- inventory_check
- inventory
- mariatest_identity
- mariatest_spatial_null
- mariatest_spatial
- mariatest_unique
- mariatestnull
- mariatest
- order_details
- order_history
- order_items
- orders
- payment_methods
- payments
- precisetypes
- precision_types_null
- precision_types
- price_tiers
- product_categories
- product_images
- product_prices
- product_search
- products
- promotions
- reviews
- shipments
- shipping_carriers
- simple_customer_lookup
- subquery_test
- update_order_status
- userdefined
- v_customer_summary
- v_inventory_status
- v_order_details
- v_product_catalog
- v_warehouse_coverage
- warehouses
- src/scala/testdb
- oracle
- java
- generated-and-checked-in/oracledb
- contacts
- userdefined
- src/java/oracledb/contacts
- kotlin
- generated-and-checked-in/oracledb
- contacts
- userdefined
- src/kotlin/oracledb/contacts
- scala-new
- generated-and-checked-in/oracledb
- contacts
- userdefined
- src/scala/oracledb/contacts
- scala
- generated-and-checked-in/oracledb
- contacts
- userdefined
- src/scala/oracledb/contacts
- pg
- java
- generated-and-checked-in/adventureworks
- humanresources
- department
- employeedepartmenthistory
- employee
- shift
- vemployee
- information_schema
- person_detail
- person_dynamic
- person_row_join
- person
- addresstype
- address
- businessentityaddress
- businessentity
- countryregion
- emailaddress
- password
- person
- stateprovince
- precisetypes
- production
- productcategory
- productcosthistory
- productmodel
- productsubcategory
- product
- unitmeasure
- public_
- flaff
- identity_test
- issue142_2
- issue142
- pgtestnull
- pgtest
- precision_types_null
- precision_types
- title_domain
- titledperson
- title
- users
- sales
- salesperson
- salesterritory
- update_person_returning
- userdefined
- src/java/adventureworks
- humanresources/employee
- person
- production
- productcosthistory
- product
- userdefined
- kotlin
- generated-and-checked-in/adventureworks
- humanresources
- department
- employeedepartmenthistory
- employee
- shift
- vemployee
- information_schema
- person_detail
- person_dynamic
- person_row_join
- person
- addresstype
- address
- businessentityaddress
- businessentity
- countryregion
- emailaddress
- password
- person
- stateprovince
- precisetypes
- production
- productcategory
- productcosthistory
- productmodel
- productsubcategory
- product
- unitmeasure
- public
- flaff
- identity_test
- issue142_2
- issue142
- pgtestnull
- pgtest
- precision_types_null
- precision_types
- title_domain
- titledperson
- title
- users
- sales
- salesperson
- salesterritory
- update_person_returning
- userdefined
- src
- kotlin/adventureworks/userdefined
- test/kotlin/adventureworks
- humanresources/employee
- person
- production/product
- scala
- anorm
- generated-and-checked-in-2.13/adventureworks
- humanresources
- employee
- vemployee
- person_detail
- person_dynamic
- person/person
- userdefined
- generated-and-checked-in-3/adventureworks
- humanresources
- employee
- vemployee
- person_detail
- person_dynamic
- person/person
- userdefined
- src/scala/adventureworks
- humanresources/employee
- person
- production/product
- userdefined
- doobie
- generated-and-checked-in-2.13/adventureworks
- humanresources
- employee
- vemployee
- person_detail
- person_dynamic
- person/person
- userdefined
- generated-and-checked-in-3/adventureworks
- humanresources
- employee
- vemployee
- person_detail
- person_dynamic
- person/person
- userdefined
- src/scala/adventureworks
- humanresources/employee
- person
- production/product
- userdefined
- javatypes
- generated-and-checked-in/adventureworks
- humanresources
- department
- employeedepartmenthistory
- employee
- shift
- vemployee
- information_schema
- person_detail
- person_dynamic
- person_row_join
- person
- addresstype
- address
- businessentityaddress
- businessentity
- countryregion
- emailaddress
- password
- person
- stateprovince
- precisetypes
- production
- productcategory
- productcosthistory
- productmodel
- productsubcategory
- product
- unitmeasure
- public
- flaff
- identity_test
- issue142_2
- issue142
- pgtestnull
- pgtest
- precision_types_null
- precision_types
- title_domain
- titledperson
- title
- users
- sales
- salesperson
- salesterritory
- update_person_returning
- userdefined
- src/scala/adventureworks
- humanresources/employee
- person
- production
- productcosthistory
- product
- userdefined
- scalatypes
- generated-and-checked-in/adventureworks
- humanresources
- department
- employeedepartmenthistory
- employee
- shift
- vemployee
- information_schema
- person_detail
- person_dynamic
- person_row_join
- person
- addresstype
- address
- businessentityaddress
- businessentity
- countryregion
- emailaddress
- password
- person
- stateprovince
- precisetypes
- production
- productcategory
- productcosthistory
- productmodel
- productsubcategory
- product
- unitmeasure
- public
- flaff
- identity_test
- issue142_2
- issue142
- pgtestnull
- pgtest
- precision_types_null
- precision_types
- title_domain
- titledperson
- title
- users
- sales
- salesperson
- salesterritory
- update_person_returning
- userdefined
- src/scala/adventureworks
- humanresources/employee
- person
- production
- productcosthistory
- product
- userdefined
- zio-jdbc
- generated-and-checked-in-2.13/adventureworks
- humanresources
- employee
- vemployee
- person_detail
- person_dynamic
- person/person
- userdefined
- generated-and-checked-in-3/adventureworks
- humanresources
- employee
- vemployee
- person_detail
- person_dynamic
- person/person
- userdefined
- src/scala/adventureworks
- humanresources/employee
- person
- production/product
- userdefined
- showcase/specs
- sqlserver
- java
- generated-and-checked-in/testdb
- customer_orders_summary
- customers
- find_customers_by_email
- order_items
- orders_with_customer_details
- orders
- userdefined
- src/java/testdb
- kotlin
- generated-and-checked-in/testdb
- customer_orders_summary
- customers
- find_customers_by_email
- order_items
- orders_with_customer_details
- orders
- userdefined
- src/kotlin/testdb
- scala
- generated-and-checked-in/testdb
- customer_orders_summary
- customers
- find_customers_by_email
- order_items
- orders_with_customer_details
- orders
- precisetypes
- userdefined
- src/scala/testdb
- typr-scripts/src/scala/scripts
- typr/src/scala/typr
- internal
- codegen
- openapi
- codegen
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
283 | 283 | | |
284 | 284 | | |
285 | 285 | | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
286 | 311 | | |
287 | 312 | | |
288 | 313 | | |
| |||
543 | 568 | | |
544 | 569 | | |
545 | 570 | | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
546 | 574 | | |
547 | 575 | | |
548 | 576 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
Lines changed: 30 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
Lines changed: 58 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
Lines changed: 22 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
Lines changed: 37 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
Lines changed: 20 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
0 commit comments