bru import takes the specification type first, then options that choose the source, the output location, and the on-disk layout of the collection:
<type> is openapi or wsdl. To view the options available in your installed version:
Options
Use
--output to write a collection to a directory, or --output-file to write a single collection JSON export. For directory imports, --collection-format chooses between OpenCollection YAML (the default) and classic .bru files.
Next Steps
- Import Collections - Worked examples for OpenAPI and WSDL imports with the options above
- bru run - Run the collection you just imported
- bru docs - Generate HTML API documentation from it