@postio/postman-collection
v1.0.2
Published
Postio API as a Postman v2.1 collection, generated from @postio/openapi.
Downloads
24
Maintainers
Readme
@postio/postman-collection
The Postio API as a
Postman v2.1 collection,
generated from
@postio/openapi.
Two ways to use it.
1. Import directly into Postman
The collection JSON is published at:
- npmjs.com/package/@postio/postman-collection
→ tarball
dist/postio.postman_collection.json - unpkg.com/@postio/postman-collection/dist/postio.postman_collection.json
In Postman: Import → Link and paste the unpkg URL. Set the
apiKey collection variable to your Postio key.
You can also import the OpenAPI spec directly from https://postio.co.uk/openapi.json — Postman will generate a collection on the fly. This package is the same content, pre-generated and pinned to a version.
2. Install in a Node project
npm install --save-dev @postio/postman-collectionimport collection from "@postio/postman-collection" assert { type: "json" };Useful if you check the collection into your repo or run automated contract tests against Postio.
Versioning
Lockstep with @postio/openapi. The current version covers OpenAPI
spec 1.0.2.
Build
pnpm install
pnpm buildWraps openapi-to-postmanv2.
License
MIT.
