yapi import
Import an external collection (Postman) to yapi format
Synopsis
Import a Postman collection JSON file and convert it to yapi YAML files. Creates a directory structure mirroring the collection's folder organization.
yapi import [file] [flags]
Options
-e, --env string Postman environment file (.json) to import variables from
-h, --help help for import
-o, --output string Directory to save imported yapi files (default "./imported")
Options inherited from parent commands
--binary-output Display binary content to stdout (by default binary content is hidden)
--no-color Disable color output
-u, --url string Override the URL specified in the config file
SEE ALSO
- yapi - yapi is a unified API client for HTTP, gRPC, and TCP