Import from DBAPI
Move APIs from DBAPI into an OpenDBAPI workspace using the files DBAPI exports.
-
In DBAPI, export what you want to move:
File Where in DBAPI api_config.jsonAPI list → Export API group.jsonExport API groups datasource.jsonExport datasources -
In OpenDBAPI, open Settings → Import & export and, under Import from DBAPI, choose the files.
-
Press Check. The Import report lists what would be created, skipped, and anything that does not carry over. Nothing is written yet.
-
Press Import.
What happens to each kind:
- APIs arrive as endpoint drafts: review, test and publish each one.
- Groups are matched by name and created when missing.
- Datasources are recreated from their JDBC URL, read only and without passwords. Set each password (or a secret) before testing.
DBAPI features OpenDBAPI does not carry over (plugins, parameter rules, non-SQL executors, ${} text substitution) are
listed in the report, so nothing is dropped silently. Rewrite ${} as #{} bound parameters or an <orderBy> tag (see
Write and publish endpoints).