Codewerk
ddl to erd
Parses DDL with node-sql-parser 5.4.0 (PostgreSQL, MySQL, MariaDB, SQLite, BigQuery, Snowflake, T-SQL, Redshift grammars): CREATE TABLE with inline and table-level PRIMARY KEY, UNIQUE, REFERENCES and FOREIGN KEY, ALTER TABLE . ADD [CONSTRAINT] FOREIGN KEY and CREATE UNIQUE INDEX. Cardinality rules: a NOT NULL (or primary key) foreign key means exactly one parent (||), a nullable one zero or one (|o); a foreign key whose columns form the child's primary key or a unique key makes the.
POST https://code.halowerk.com/v1/ddl-to-erdInputs
| Field | Type | Required | Description |
|---|---|---|---|
| ddl | string | Yes | SQL DDL with CREATE TABLE statements. |
| dialect | string | No | |
| include_columns | boolean | No | Render attribute blocks (false = only entities and relationships). |
Show full input schema
{
"type": "object",
"additionalProperties": false,
"required": [
"ddl"
],
"properties": {
"ddl": {
"type": "string",
"minLength": 10,
"maxLength": 500000,
"description": "SQL DDL with CREATE TABLE statements."
},
"dialect": {
"type": "string",
"enum": [
"postgres",
"mysql",
"mariadb",
"sqlite",
"bigquery",
"snowflake",
"transactsql",
"redshift"
],
"default": "postgres"
},
"include_columns": {
"type": "boolean",
"default": true,
"description": "Render attribute blocks (false = only entities and relationships)."
}
}
}Published input example
{
"dialect": "postgres",
"ddl": "CREATE TABLE customer (id SERIAL PRIMARY KEY, email VARCHAR(255) NOT NULL UNIQUE);\nCREATE TABLE orders (id BIGINT PRIMARY KEY, customer_id INT NOT NULL REFERENCES customer(id), total NUMERIC(10,2));"
}Result & documentation
Machine-readable documentation of this hub
Source of this page: the published HALOWERK catalog. Updated: 2026-11-17 UTC.
More endpoints in this hub
- Codewerk0.003 USDC
action sha pin
POSThttps://code.halowerk.com/v1/action-sha-pinFinds every "uses: owner/repo[/path]@ref" in a GitHub Actions workflow, resolves tags (including annotated tags) and branches to the commit SHA with git ls-remote against github.com, and rewrites the line to "uses: owner/repo[/path]@<sha> #
- Codewerk0.003 USDC
actionlint
POSThttps://code.halowerk.com/v1/actionlintRuns the official statically linked actionlint 1.7.12 release binary (MIT, SHA-256 checked against the published checksums) in an isolated child process without network, with the bundled ShellCheck 0.11.0 for run: scripts (pyflakes is not a
- Codewerk0.004 USDC
api changelog
POSThttps://code.halowerk.com/v1/api-changelogCompares operations, parameters, request bodies, response codes and media types, component schemas (one property level), servers and security schemes of two documents (Swagger 2.0 is converted with swagger2openapi first; 3.0 and 3.1 are rea