API PaperworkA LITTLE ORDER. READY TO SHIP.
Tools for the work
before you publish.
Field notes LOCAL BY DEFAULT

API documentation utilities

Check examples and convert documentation inputs before publishing an API guide.

Back to the main workspace
Convert JSON and YAML samples

Check a small configuration example before moving it into a guide.

Try an example

  1. Run the sample JSON with direction to-yaml.
  2. Check the result. The YAML output contains a: 1. Keep a fixture when converting richer structures so you can compare types afterward.
Review changes between two JSON examples

Locate path changes introduced during a documentation edit.

Try an example

  1. Run the prefilled pair with a changing from 1 to 2.
  2. Check the result. The result reports a changed value at /a, with 1 before and 2 after.
Try a JSONPath expression

Confirm that a query selects the fields described in an example.

Try an example

  1. Run $.items[*].name against the prefilled document.
  2. Check the result. The query selects both name values, Alex and Jamie, in input order.
Resolve a JSON Pointer

Check the path of a referenced field in a small sample document.

Try an example

  1. Keep the sample object and the pointer /items/0/id, then run.
  2. Check the result. The selected value is A17. Index 0 selects the first array item.
Break down an example URL

Verify host, path and query parameters before publishing.

Try an example

  1. Run https://example.com/path?a=1 as prefilled.
  2. Check the result. The host is example.com, the path is /path and the query includes a with value 1.
Convert example tables between CSV and JSON

Check field names and table structure using synthetic records.

Try an example

  1. Keep the sample, set direction to to-json and run.
  2. Check the result. The output is an array containing one record, with name set to Ada and city set to Chengdu.
Check a documented input pattern

Test a validation expression against a synthetic value before copying it into a guide. Check the regex dialect used by the receiving application.

Try an example

  1. Run the prefilled expression ca(t|r) on the sample cat car.
  2. Check the result. It reports the two matches cat and car. The capture group separates the final letter.
Convert tab-separated examples to Markdown tables

Paste a spreadsheet selection with a header and review column alignment.

Try an example

  1. Run the prefilled tab-separated table with SKU and Name headers.
  2. Check the result. The output has a Markdown header, column separator and two data rows for A17 and B12.
Check Markdown heading order

Read an outline and verify the sections match the planned documentation.

Try an example

  1. Run the prefilled Markdown example as written, including the fenced block.
  2. Check the result. The outline contains Setup, Configure and Verify. The heading-like text in the code sample is skipped.
Generate sample UUIDs

Create placeholder identifiers for examples and test records.

Try an example

  1. Keep the sample count at 3 and run.
  2. Check the result. Three UUIDs are produced. Values vary from run to run.