Burp Suite extension for turning OpenAPI/Swagger specs into ready-to-send HTTP requests.
Use it only in legal, authorized testing environments.
- Loads OpenAPI
2.0,3.0.x, and3.1specs from local files, URLs, URL lists, Swagger UI pages, and Burp Target context menu. - Generates schema-aware sample requests, including
allOf,oneOf,anyOf, and discriminator-aware payloads. - Shows request preview and expected response preview from OpenAPI examples/schemas.
- Sends generated requests to Repeater, Intruder, Active scan, and Passive scan.
- Exports selected requests as RAW HTTP, cURL, and Python
requests. - Supports auth profiles: Bearer, OAuth2 Bearer, Basic, API key header, and API key query.
- Lets you override the server for one or more selected operations.
- Loads URL lists incrementally, so operations appear as each spec is fetched.
- Burp Suite
2026.2+ - Java
17+ - Maven
3.9+for local builds
mvn clean packageThe JAR is created at:
target/openapi-sampler-2.2.0.jar
- Open
Extensions > Installed > Addin Burp. - Select extension type
Java. - Choose
target/openapi-sampler-2.2.0.jar. - Check the extension output for:
[OpenAPI Sampler] Loaded. Version=2.2.0, Author=MelForze
- Open the
OpenAPI Samplertab. - Load a spec from a file, URL, URL list, Swagger UI page, or Burp Target context menu.
- Select source/server filters if needed.
- Select operations in the table.
- Use right-click actions to send, export, delete, or change server for selected operations.
Auth is optional and applied only to generated requests:
Bearer/OAuth2 Bearer: enterToken.Basic: enterUsernameandPassword.API Key (Header): enterHeader nameandValue.API Key (Query): enterQuery nameandValue.
- One URL per line.
- Empty lines and lines starting with
#are ignored. http://andhttps://are supported.- Bare hosts are normalized to
https://. - CSV-like rows are supported; the first URL-like token is used.
# production
https://api.example.com/openapi.json
api2.example.com/swagger/v1/swagger.yaml
# csv-like row
service-a,https://svc-a.example.com/v3/api-docs,team-redsamples/openapi-3.1-discriminator.yamlsamples/openapi-2.0-basic.yaml
MIT License. See LICENSE.