Generate Docs from OpenAPI 3.0 Definitions in Postman
Tags: api, productivity, opensource, testing
Published: 2022-03-28 07:21:36

---
title: Generate Docs from OpenAPI 3.0 Definitions in Postman
published: true
date: 2022-03-24 08:21:40 UTC
tags: api, productivity, opensource, testing
canonical_url: https://blog.postman.com/open-api-3-0-documentation/
cover_image: https://dev-to-uploads.s3.amazonaws.com/uploads/articles/gfb05uc3ldhkn99mx89l.png
---

During various [stages of an API lifecycle](https://dev.to/jansche/the-8-point-api-lifecycle-blueprint-3op4-temp-slug-9748578 "https://blog.postman.com/api-lifecycle-blueprint/"), API producers need to communicate their API’s functionality to consumers who may have various degrees of API awareness. Consumers—internal, partner, or public—aren’t always engineers who can understand an API specification; they may perform different functions and be from different teams, such as QA, DevOps, go-to-market, product, etc. This means there’s a growing need for an API specification to be in a more consumable form so that users can effortlessly understand an API’s functionality and quickly get started with your APIs.

To resolve this need, especially because the [Postman API Platform](https://www.postman.com/product/what-is-postman/ "https://www.postman.com/product/what-is-postman/") is built for collaboration, Postman now automatically generates reference documentation from your [OpenAPI 3.0](https://blog.postman.com/openapi-specification-postman-how-to/ "https://blog.postman.com/openapi-specification-postman-how-to/") definitions.

## 

## API schema documentation in the API Builder

The [API Builder](https://blog.postman.com/api-development-with-postman/ "https://blog.postman.com/api-development-with-postman/") will now also include generated reference documentation along with its OpenAPI 3.0 definition, enabling your collaborators and consumers to quickly and comprehensively understand your API’s functionality in every stage of the API lifecycle. While in design, you can use the generated documentation to get quick feedback. During development and testing, make sure consumers and QA engineers can get started quickly in parallel. Once deployed, you can share your API along with its reference documentation through workspaces and the [API Network](https://www.postman.com/explore "https://www.postman.com/explore").

![](https://blog.postman.com/wp-content/uploads/2022/03/OAS-documentation-20220216-090310.gif)

## 

## Comprehensively communicate API functionality

The generated documentation will contain the complete information necessary to consume your API:

### API Overview

The API Overview section will give an overview of the API derived from your OpenAPI definition.

![](https://blog.postman.com/wp-content/uploads/2022/03/API-overview.png)

### Operations

You can browse all operations defined on your API endpoints to understand the functionality.

![](https://blog.postman.com/wp-content/uploads/2022/03/OAS-documentation-20220216-090310.gif)

### Parameters

Params, headers, and other key-value pairs for every operation will now convey if they are required or optional, type/format, and other constraints.

![](https://blog.postman.com/wp-content/uploads/2022/03/API-params.png)

### Request body

Request body will convey properties with their schema information. Individual objects can be expanded to view constituent properties.

![](https://blog.postman.com/wp-content/uploads/2022/03/Request-body.png)

### Responses

For every operation, you can view all the responses and their schema.

![](https://blog.postman.com/wp-content/uploads/2022/03/API-responses.png)

The auto-generated documentation will make it easier for a consumer to quickly construct a request according to their use case. They will also be less prone to errors. Response body schema and examples will help consumers interpret responses and use your APIs quicker.

## Check it out

Check out [Postman API’s documentation](https://www.postman.com/postman/workspace/405e0480-49cf-463b-8052-6c0d05a8e8f3/api/f00b3236-8241-43ce-925f-80f6f73f8ffc/version/26b1363e-2b53-4ec3-85b2-21ae480c86fe?tab=documentation) in [Postman’s public workspace](https://www.postman.com/postman/workspace/405e0480-49cf-463b-8052-6c0d05a8e8f3/overview) to understand how your API reference documentation can be showcased. Though limited to OpenAPI 3.0 right now, we would love to expand this solution to other specification formats using your feedback or comments. Try it out and tell us what you think in a comment below. You can also give product feedback through our [Community forum](https://community.postman.com/ "https://community.postman.com/") and [GitHub repository](https://github.com/postmanlabs/postman-app-support/issues "https://github.com/postmanlabs/postman-app-support/issues").


The post [Postman Now Generates Docs from OpenAPI 3.0 Definitions](https://blog.postman.com/open-api-3-0-documentation/) appeared first on [Postman Blog](https://blog.postman.com) published by Raja Chinta.