apiome paths list and show: one row per path, and a tree of each path
apiome paths now reads like the API it describes.
Edit paths and operations.
apiome paths list <project> <version>prints one row per path with its methods, operation ids and tags.--methodand--tagfilter on the server, and--search(or--q) filters the text.--jsonprints the API's array of path records.
apiome paths show <project> <version> <path>draws the path as a tree: each operation with its parameters, request body and responses, and the class or type each one carries.- The path can be the template, its URL-encoded form, its JSON Pointer token (
~1charges~1{id}) or its UUID. --jsonprints the API's full path object.
- The path can be the template, its URL-encoded form, its JSON Pointer token (
- Positional arguments. Both commands take the project and version as arguments. The
--project/--versionoptions still work. - JSON shape change.
paths list --jsonused to wrap the array in{total, offset, limit, items}, andpaths show --jsonprinted{path, operations}. Scripts that read those keys need updating.
