Skip to content

Releases: lassoColombo/nu-http-client-generator

derive command names from the operationId

Choose a tag to compare

@lassoColombo lassoColombo released this 11 Sep 20:46
feat(model)!: derive command names from the operationId

Breaking: every generated command name changes. Regenerate your clients and update call sites.

Names are the spec's operationId, kebab-cased. Operations without a usable one get a <method>-<path> slug. Word order and phrasing are now the spec author's choice, not the generator's — a spec that names things verb-first gets verb-first commands.

Migrating: run http-gen preview ./spec.yaml to see the new names before regenerating. If you to customize the naming logic, --name-fn gets {raw, params, derived} and can rebuild any naming scheme you like.

Also in this release: --name-fn naming hook, Unix-socket transport, nu 0.114.0, spec-declared success codes and per-verb senders.

0.1.0

Choose a tag to compare

@lassoColombo lassoColombo released this 09 Jul 14:42
chore: update to nu 0.114.0