# Swagger OpenAPI

> Export captured Proxyman requests and responses to a Swagger OpenAPI 3.0 YAML file or an HTML page, with no extra tools to install.

## 1. OpenAPI

From Proxyman v5.14.0 or later, Proxyman can export your requests and responses to an OpenAPI 3.0 YAML file or an HTML page.

* Supports YAML format
* Supports HTML in the Swagger OpenAPI style
* Built into Proxyman, no need for any external dependencies.

![Swagger OpenAPI 3.0 HTML page exported from Proxyman, listing GET endpoints captured from x.com](https://proxyman.com/docs/assets/Screenshot%202025-01-06%20at%202.37.25%E2%80%AFPM.jpg)

_Export your requests and responses to an OpenAPI HTML page_

## 2. How to use

1. Capture HTTPS requests with Proxyman. Follow the setup guide for your device:

* [iOS devices (iPhone, iPad)](https://proxyman.com/docs/debug-devices/ios-device)
* [iOS Simulator](https://proxyman.com/docs/debug-devices/ios-simulator)
* [Android devices](https://proxyman.com/docs/debug-devices/android-device#1-android-setup-guide)
* [Android Emulator](https://proxyman.com/docs/debug-devices/android-device/automatic-script-for-android-emulator)
* [macOS (Web Browser)](https://proxyman.com/docs/debug-devices/macos)

Make sure Proxyman can capture and decrypt your HTTPS requests and responses.

![Export > OpenAPI](https://proxyman.com/docs/assets/proxyman-export-openapi-menu.jpg)

_Export > OpenAPI_

2. Select your requests on the main table -> right-click -> **Export** -> **OpenAPI** -> select **YAML Schema…** or **HTML…**
3. Done :white\_check\_mark:

## Learn more

* [Generate OpenAPI 3.0 for reverse engineering REST APIs in a few clicks](https://proxyman.com/posts/2025-01-09-Generate-OpenAPI-YAML)
* [Proxyman vs mitmproxy: Generate OpenAPI from captured traffic](https://proxyman.com/posts/2026-07-21-Proxyman-vs-mitmproxy-Generate-OpenAPI)
