craftr import

Create an API from captured traffic or a collection.

Commands

  • import har planPreview what a HAR import would create: resources, operations, requests and the secret candidates that need a decision. Writes nothing.
  • import har applyCreate a new API from a HAR file. Every secret candidate needs a decision: from the flags, or prompted in a terminal. Fails if the API already exists.
  • import postman planPreview what a Postman import would create: resources, operations, requests, environments, middlewares, workflows, what cannot be converted, and the secret candidates that need a decision. Writes nothing.
  • import postman applyCreate a new API from a Postman collection. Every secret candidate needs a decision: from the flags, or prompted in a terminal. Scripts are written commented out under a throw, so they fail until rewritten. Fails if the API already exists.