Zuplo CLI
#Project Commands
zuplo project --help zuplo project Project commands Commands: zuplo project update Updates your project structure to the latest conventions zuplo project import-openapi Imports an OpenAPI file into your Zuplo Projectbash
#Common Use Cases
#Importing an existing OpenAPI file
We support importing both JSON and YAML. We will infer the format from the file extension.
zuplo project import-openapi --source /path/to/openapi.json zuplo project import-openapi --source /path/to/openapi.yamlbash
If you have a remote file that you wish to import, you can also use the
--source
option. This downloads the file to a temporary directory and imports
it. The --source
option infers if this is a remote file by checking the URL.
zuplo project import-openapi --source https://example.com/path/to/openapi.jsonbash
Lastly, if you wish to rename the destination file, you can use the
--destination
option.
zuplo project import-openapi --source https://example.com/path/to/openapi.json --destination new-namebash