API Reference
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.
const { collection, issues } = await postmanToBruno(postmanCollection, options);
Parameters
pm.* calls to Bruno's bru.* API.
Returns
severity, the path of the item it concerns, and a message.
postmanToBrunoEnvironment
Converts a Postman environment to a Bruno environment.
const environment = postmanToBrunoEnvironment(postmanEnvironment);
Parameters
Returns
insomniaToBruno
Converts an Insomnia collection to a Bruno collection.
const collection = insomniaToBruno(insomniaCollection);
Parameters
Returns
openApiToBruno
Converts an OpenAPI 3.x or Swagger 2.0 specification to a Bruno collection.
const collection = openApiToBruno(openApiSpec, options);
Parameters
"tags" groups by operation tag, "path" groups by URL path.
Returns
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.
const collection = await wsdlToBruno(wsdlContent);
Parameters
Returns