vegha import
vegha import converts an existing API specification or collection file into a Vegha collection of .bru files. It is the command-line equivalent of importing from within the desktop app.
vegha import <source-file> <destination-folder><source-file>is the spec or collection file you want to import.<destination-folder>is the folder where the resulting.brucollection is written.
Supported source formats
Section titled “Supported source formats”vegha import accepts the following source files:
| Format | Description |
|---|---|
| OpenAPI | OpenAPI / Swagger specification. |
| Postman | Postman collection export. |
| Insomnia | Insomnia export. |
| Bruno | Existing Bruno collection. |
| WSDL | SOAP service description. |
Examples
Section titled “Examples”Import an OpenAPI spec:
vegha import ./specs/orders.openapi.json ./collections/orders-apiImport a Postman collection:
vegha import ./exports/orders.postman_collection.json ./collections/orders-apiImport a WSDL file:
vegha import ./specs/billing.wsdl ./collections/billingRelated
Section titled “Related”- Importing overview — details on each supported format and how requests are mapped.