Write API docs developers love

Make your API easy to integrate. Clear docs that developers actually enjoy using.

Categories: api, documentation

Tools that power the Write API docs developers love stack

Setup guide

  1. Postman: Create a Postman collection with example requests, responses and parameter types. Use More > Generate specification to create an OpenAPI specification in Spec Hub. Current Postman documentation supports OpenAPI 2.0, 3.0 and 3.1, while the v11 guide supports 3.0; choose a version your downstream tools support. Export the generated specification as YAML or JSON, rather than exporting the collection. Check your plan limits and validate the result. (Read official instructions)
  2. Swagger UI: Host the reviewed OpenAPI specification at an appropriate URL and configure Swagger UI to load it. Keep private APIs and their documentation restricted; remove tokens, customer data and private examples before any public publication. Test Try it out against a sandbox with a limited test account, then confirm the docs reflect actual request and response behavior. (Read official instructions)
  3. ReadMe: Create a ReadMe project if you prefer a hosted documentation portal. Import the generated OpenAPI specification, add authentication and quickstart guides, and set the intended access permissions. Test one quickstart as a new API consumer before sharing the documentation link. (Read official instructions)

    Check: The exported file validates as OpenAPI, and a new test consumer can follow one quickstart against a sandbox without a private token appearing in the docs.