v0.2.0-beta02
Pre-release
Pre-release
·
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.jsonstill overlays its own headers/responses/etc. - The
REQcolumn renders✓/ blank, exactly likeapic read(instead oftrue/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
typeis a toggle betweenobjectandobject[]— expand aREQUEST/RESPONSEtitle and pressEnteron thetyperow (no free text). g(generate example) is array-aware: anobject[]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