View live documentation for your API specification
Postman displays a live preview of your API’s documentation if you’re editing an OpenAPI 2.0, 3.0, or 3.1 specification or AsyncAPI 2.0 specification. The documentation preview is updated as you edit the specification. You can use the preview to help you visualize your changes as you work.
As you edit an OpenAPI specification with multiple files and folders, a live preview also displays for your the root and non-root files.
To show the documentation preview, click Live preview in the right sidebar. Click
Close to hide the documentation preview.
You can view live documentation for the following types of sections:
- OpenAPI - The live preview shows documentation for
Info,Servers, andPathssections of your specification. Live preview also shows documentation for the followingComponents(OpenAPI 3.0 and 3.1) andDefinitions(OpenAPI 2.0) sections:Schemas,Responses, andRequest Bodies. The preview doesn’t show documentation for other sections such asSecurity. - AsyncAPI 2.0 - The live preview shows documentation for the
Info,Servers, andChannelssections of your specification. The preview doesn’t show documentation for other sections such asComponents.
