specs import
Fetches a spec from a public address and ingests it as a new version, the same as specs push does with a file. It follows the pipeline to the end unless you pass --no-wait.
The address must be reachable from Octri's servers, so a URL behind your VPN or a login won't work. For a spec in a GitHub repository, connect the repository instead, so it stays in sync.
bash
octri specs import <url> [--no-wait]Arguments
<url>stringrequiredThe spec's address. --url <url> works too.
Flags
--no-waitbooleanReturn once the import is accepted.
Examples
Import a published spec
bash
octri specs import https://api.acme.com/openapi.jsonRelated
octri specs push: Upload an OpenAPI spec and follow it through parsing, pages and search.octri github connect: Point the project at a spec file in a GitHub repository.