This repository was archived by the owner on Feb 17, 2026. It is now read-only.
Repository navigation
v0.1.4
Robustness & validation
- Type coercion for injected parameters — Path and query param values injected into result rows are now coerced to the target column type (bool, int, float, date, timestamp, etc.) instead of always returning strings.
- Auth mutual exclusivity — Setting both
api_keyandbearer_tokennow returns a clear error instead of silently emitting duplicate auth headers. - Strict option validation — Invalid
headersJSON, non-string header values, and non-numericpage_sizevalues now produce errors instead of being silently ignored.
Schema generation (IMPORT FOREIGN SCHEMA)
- Full-path table naming — Tables are now named using the full endpoint path (
/v1/users→v1_users) to avoid collisions between endpoints like/v1/usersand/v2/users. - Smarter
rowid_column— Prefersid, falls back to the first non-jsonb scalar column, or omits entirely. No longer defaults toattrs. include_attrsoption — New server option to omit theattrsjsonb column from generated tables. Setinclude_attrs 'false'on the server.- Deduplicate
attrs— Theattrscolumn is no longer appended if the OpenAPI schema already defines a property namedattrs.
Pagination
- Relative URL handling — Query-only pagination links (
?page=2) now correctly resolve againstbase_url + endpointinstead of justbase_url. - Broader auto-detection — Added
next_urlfield variants (/pagination/next_url,/links/next_url, etc.) to the auto-detection list.
Full Changelog: v0.1.3...v0.1.4