Skip to content
Vegha Docs

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.

Terminal window
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 .bru collection is written.

vegha import accepts the following source files:

FormatDescription
OpenAPIOpenAPI / Swagger specification.
PostmanPostman collection export.
InsomniaInsomnia export.
BrunoExisting Bruno collection.
WSDLSOAP service description.

Import an OpenAPI spec:

Terminal window
vegha import ./specs/orders.openapi.json ./collections/orders-api

Import a Postman collection:

Terminal window
vegha import ./exports/orders.postman_collection.json ./collections/orders-api

Import a WSDL file:

Terminal window
vegha import ./specs/billing.wsdl ./collections/billing