Skip to content

v0.2.0-beta02

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 11 Jun 21:10
· 60 commits to main since this release

Second beta of the interactive authoring TUI, fixing the create experience and adding array-body support. See v0.2.0-beta01 for the full TUI overview.

⚠️ Beta — please try it and report issues.

Changes since beta01

Sane create defaults (#13)

  • A new contract now keeps the template's scalar defaults and starts arrays empty — no more POST ///, blank name, or junk empty rows in VARIABLE/QUERY/REQUEST. Your .apic/template.json still overlays its own headers/responses/etc.
  • The REQ column renders / blank, exactly like apic read (instead of true/false).
  • A request/response with no fields shows (none) instead of an empty table or (no example provided).

Array request/response bodies (#12)

  • The body type is a toggle between object and object[] — expand a REQUEST/RESPONSE title and press Enter on the type row (no free text).
  • g (generate example) is array-aware: an object[] body generates a one-element array [ { … } ].

Install

Prebuilt binaries for Linux (x86_64, aarch64), macOS (Intel, Apple Silicon), and Windows (x86_64) are attached below — each with a .sha256.

From source:

cargo install --git https://github.com/rizukirr/apic --tag v0.2.0-beta02