Supercharge Your API Development with Utility Collections
Tags: api, programming, productivity, webdev
Published: 2022-05-09 10:02:42

---
title: Supercharge Your API Development with Utility Collections
published: true
date: 2022-05-06 17:26:16 UTC
tags: api, programming, productivity, webdev
canonical_url: https://blog.postman.com/supercharge-api-development-with-utility-collections/
cover_image: https://dev-to-uploads.s3.amazonaws.com/uploads/articles/jlegdb6p1zxwst5kmkhw.png
---

The [Postman Public API Network](https://blog.postman.com/postman-public-api-network-is-now-the-worlds-largest-public-api-hub/) is well known for containing more than 120,000 collections and featuring some of the biggest brands on the planet. And while most of the collections exist to make it easier for developers to access the public APIs published by these companies, there are a few hidden gems in the API network that exist entirely to simplify and enhance the API workflow for developers using Postman. Here’s a handful of ones that I find especially helpful:

- Joyce Lin’s [Public Workspace Linter](https://www.postman.com/devrel/workspace/b87432b5-6286-4080-be90-031f5398220e/collection/13191452-9d561bee-5bea-4f05-89c9-bfaa8112fd83) examines the content of your public workspace to determine if it’s ready to be published publicly and gives you advice on how to improve.

- Nick Schott’s [API First Workflow Patterns](https://www.postman.com/postman/workspace/api-first-workflow-patterns) automation tool synchronizes your OpenAPI specification to Postman and automatically updates documentation, mock servers, and monitors within your workspace.

- Carson Hunter’s [Workspace Cloning Utility](https://www.postman.com/carson-hunter-team/workspace/cloning-playground) will givesyou the ability to clone workspaces and even retain any forks on the collections.

- Allen Helton’s [Contract Test Generator](https://www.postman.com/postman/workspace/contract-test-generator)  introspects your OpenAPI specification and instantly generates schema tests to ensure that your API implementation matches the specification that you’ve published.

## Utility collections to the rescue

I call these types of collections “utility collections” because they don’t exist to represent an API or even an API workflow within an application. Instead, they exist to provide some utility that improves the way that you as a developer are utilizing the [Postman API Platform](https://blog.postman.com/new-postman-api-platform-redefining-api-management-for-api-first-world/).

Lots of developers are already creating and leveraging utility collections internally among and between their teams in order to do things like:

- Analyze tests for code coverage and produce a coverage report
- Lint OpenAPI specification files to make sure they meet minimum requirements
- Extend the contract testing approach for GraphQL, Protobuf, and even WSDL
- Find gaps in documentation and make these visible to workspace owners
- Fork common collections into new workspaces automatically so that developers can start working on them immediately

The amazing thing about these utility collections is that anyone has the ability to create them and publicize them using the Postman Public API Network.

## Have an idea for a utility collection?

A good utility collection should be simple to use and solve a single pain point for a user. If you’re considering building a utility collection, you should follow these four rules:

1. **Stay focused on a single purpose:** Utility collections shouldn’t try to solve too many problems in one go. Like the example collections above, have a clear goal in mind to solve one problem. Make sure you constrain your scope to simplify something for your users.

1. **Require only a few easy-to-find parameters:** The setup should be really easy for users. Asking users to copy Postman API keys, workspace IDs, and collection IDs is about as far as you want to take it. Opt for collection variables if you can, in order to keep things self-contained and avoid users from having to fork environments.

1. **Provide good documentation:** [Good documentation](https://blog.postman.com/postman-good-documentation-checklist/) will ensure the user understands what the collection is aiming to achieve, how to get it working, and where to go for support. Before you publish your collection, make sure that your documentation is up to scratch so your users have a great experience.

1. **Respect the workspace:** Unless it’s the expressed purpose, utility collections shouldn’t aim to modify anything within the workspace, instead opting either to simply advise the user of what has happened (through test results, visualizations, etc.) or through creating new collections in the workspace.  Don’t modify any existing data if you don’t have to.

## Share your work

Once you’ve completed building out your own utility collection, [create a public workspace](https://learning.postman.com/docs/collaborating-in-postman/using-workspaces/public-workspaces/#creating-a-public-workspace) and publish it to the Postman Public API Network to share it with our community of more than 20 million users.

<button type="button" aria-label="Like Button" data-ulike-id="15153" data-ulike-nonce="67f9c230bf" data-ulike-type="post" data-ulike-template="wpulike-heart" data-ulike-display-likers="" data-ulike-likers-style="popover"></button>

The post [Supercharge Your API Development with Utility Collections](https://blog.postman.com/supercharge-api-development-with-utility-collections/) appeared first on [Postman Blog](https://blog.postman.com) by Jordan Walsh.