Codewerk
json to types
Feeds up to 100 JSON samples into quicktype-core 26.0.0 and renders type definitions only (TypeScript interfaces, Go structs with json tags, Rust serde structs, Python 3.7 dataclasses). Properties missing in some samples become optional; nulls become nullable; integers and floats are distinguished. Speculative inference is switched off: strings stay strings (no guessing of integer, boolean, date-time or UUID strings) and no enums are invented from sample values. The result reflects only the.
POST https://code.halowerk.com/v1/json-to-typesInputs
| Field | Type | Required | Description |
|---|---|---|---|
| samples | array | Yes | JSON values (usually objects) that all represent the same type. |
| language | string | Yes | Target language. |
| type_name | string | No | Name of the top-level type. |
Show full input schema
{
"type": "object",
"additionalProperties": false,
"required": [
"samples",
"language"
],
"properties": {
"samples": {
"type": "array",
"minItems": 1,
"maxItems": 100,
"items": {},
"description": "JSON values (usually objects) that all represent the same type."
},
"language": {
"type": "string",
"enum": [
"typescript",
"go",
"rust",
"python"
],
"description": "Target language."
},
"type_name": {
"type": "string",
"pattern": "^[A-Za-z][A-Za-z0-9_]{0,63}$",
"default": "Root",
"description": "Name of the top-level type."
}
}
}Published input example
{
"language": "typescript",
"type_name": "Product",
"samples": [
{
"id": 1,
"name": "Lamp",
"tags": [
"new"
],
"price": 9.5
}
]
}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