Skip to main content
Each function is used in a complete, runnable script in its guide: Postman, Insomnia, OpenAPI, and WSDL.

postmanToBruno

Converts a Postman collection to a Bruno collection.
postmanToBruno is async and returns a Promise. await the result, or the value you get back is a pending Promise rather than the collection.
Parameters
object
required
The Postman collection, parsed from its JSON export.
object
Returns
object
The Bruno collection.
array
Items that could not be converted cleanly. Each entry has a severity, the path of the item it concerns, and a message.

postmanToBrunoEnvironment

Converts a Postman environment to a Bruno environment.
Parameters
object
required
The Postman environment, parsed from its JSON export.
Returns
object
The Bruno environment.

insomniaToBruno

Converts an Insomnia collection to a Bruno collection.
Parameters
object
required
The Insomnia export, parsed from JSON.
Returns
object
The Bruno collection.

openApiToBruno

Converts an OpenAPI 3.x or Swagger 2.0 specification to a Bruno collection.
Parameters
object | string
required
The specification as a parsed object, or as a raw JSON or YAML string.
object
Returns
object
The Bruno collection.

wsdlToBruno

Converts a WSDL file to a Bruno collection of SOAP requests.
wsdlToBruno is async and returns a Promise. await the result, or the value you get back is a pending Promise rather than the collection.
Parameters
string
required
The WSDL file content.
Returns
object
The Bruno collection.